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?
41 Answer
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: