Sublime Forum

KornShell support

#1

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

0 Likes

#2

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

0 Likes

#3

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.

see:

Some highlighting issues with regards to ZSH are filed at

1 Like

#4

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

0 Likes