lueschem / edi

Embedded development infrastructure.
https://www.get-edi.io
GNU Lesser General Public License v3.0
40 stars 12 forks source link

Check if using zsh with the $ZSH_VERSION variable #45

Closed randombenj closed 5 years ago

randombenj commented 5 years ago

For some reason the $SHELL variable is set to bash even dough zsh is used. It seems that checking for $ZSH_VERSION is safer.

See also:

https://stackoverflow.com/a/9911082

lueschem commented 5 years ago

Cool - many thanks for the fix!