Closed nkronlage closed 3 years ago
Setting "pre-setup" to a local script is not working on MacOS with zsh.
The problem appears to be here:
local is_script=($cmd) if [ -f "${is_script[0]}" ]; then
On zsh, arrays indices start at 1 so "is_script[0]" returns an empty string and it skips this part of the if.
1
"is_script[0]"
Closing, I was not on the most recent version.
Setting "pre-setup" to a local script is not working on MacOS with zsh.
The problem appears to be here:
On zsh, arrays indices start at
1
so"is_script[0]"
returns an empty string and it skips this part of the if.