When I edit bash script(first line is #!/bin/bash) in GEdit, there is no highlighting. But with View->Highlight Mode, there is no result when searching "bash" or "script", which to choose?
In gedit
there is no bash
or script
highlighting mode. The closest that they have is the sh
highlight mode.
Plaintext mode:
View -> Highlight Mode -> sh then select:
sh
highlight mode selected:
.sh
suffix for scripts instead of.txt
? There's no harm in having descriptive extensions. – DK Bose Nov 19 '19 at 5:27