Sublime Forum

KornShell support


I would like to request support for KornShell in addition to Bash (as provided by default).



Not sure what you mean by this. We don’t support any specific shell.



Bash.sublime-syntax is what drives default ShellScript package. So, ST basically supports Bash only! It contains some tweaks to make it compatible with other shell flavors, but in general it is just Bash.

Using this syntax for other shells like ZSH etc. causes highlighting issues in some cases.

Basically we’d need to add further syntaxes which extend eigher the existing bash and add other shell’s specific language features or create a real posix-only generic base syntax and extend all from that.


Some highlighting issues with regards to ZSH are filed at

1 Like


Ah thanks, that makes sense. I was thinking this was in relation to build systems or similar.