gvm icon indicating copy to clipboard operation
gvm copied to clipboard

fix: zsh running gvm-installer error

Open HuihuangZhang opened this issue 1 year ago • 1 comments

Zsh does not support [ "xxx" == "yyy" ].

For example: zsh -c '[ $(uname) == "Linux" ] && echo "system is Linux" || echo "system is not Linux"'. Zsh will throw error(zsh: = not found).

reference: https://unix.stackexchange.com/a/255483

HuihuangZhang avatar Feb 28 '24 07:02 HuihuangZhang

thanks this worked!

i was getting the following error:

zsh < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
Cloning from https://github.com/moovweb/gvm.git to /root/.gvm
zsh: = not found

bote795 avatar Mar 01 '24 17:03 bote795