Gedit bash highlight

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?

4

1 Answer

In gedit there is no bash or script highlighting mode. The closest that they have is the sh highlight mode.

Plaintext mode:

enter image description here

View -> Highlight Mode -> sh then select:

enter image description here

sh highlight mode selected:

enter image description here

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like