zsh-users / fizsh

Friendly Interactive ZSHell.
Other
299 stars 18 forks source link

Fails with setopt nounset #4

Closed silvioricardoc closed 10 years ago

silvioricardoc commented 10 years ago

zsh-syntax-highlighting.zsh fails if "nounset" has been set.

guidovansteen commented 10 years ago

Thank you for reporting this issue. However, it seems to be a problem in zsh-syntax-highlighting.zsh. Julien Nicoulaud maintains this project under https://github.com/zsh-users/zsh-syntax-highlighting. Fizsh uses zsh-syntax-highlighting.zsh as an upstream project. So please file this bug at https://github.com/zsh-users/zsh-syntax-highlighting.

For what it is worth: It seems that a fix for a similar issue was accepted in 2010 (see https://github.com/zsh-users/zsh-syntax-highlighting/issues/2). However, for reasons unknown to me the fix is not present anymore in the current code base of https://github.com/zsh-users/zsh-syntax-highlighting.