Cudatext
30. 8. 2021To detect bash files based on first line of text, user.json can include
"detect_line": {
"\\#!.bin.bash.*" : "Bash script"
}
example of full user.json
{
"ui_sidebar_show" : false,
"ui_theme" : "zeus",
"ui_theme_syntax" : "zeus",
"ui_toolbar_show" : false,
"font_name" : "Fira Code Retina",
"font_size" : 12,
"wrap_enabled_max_lines" : 160000,
"mouse_wheel_zoom" : true,
"def_encoding_utf8" : true,
"pylib__linux" : "/usr/lib/python3.9/config-3.9-x86_64-linux-gnu/libpython3.9.so",
"ui_statusbar_show" : true,
"detect_line": {
"\\#!.bin.bash.*" : "Bash script"
} }