Hello!
The syntax [[ $var ]] is supported starting from Zsh 5.0.6, older versions return parse error. I've replaced the conditions with [[ -n $var ]], and everything seems to work fine.
I'm doing this PR for Hacktoberfest, I hope you find it useful (this is needed by the Hactoberfest's rules).
Hello! The syntax
[[ $var ]]
is supported starting from Zsh 5.0.6, older versions return parse error. I've replaced the conditions with[[ -n $var ]]
, and everything seems to work fine.I'm doing this PR for Hacktoberfest, I hope you find it useful (this is needed by the Hactoberfest's rules).