moovweb / gvm

Go Version Manager
http://github.com/moovweb/gvm
MIT License
9.87k stars 520 forks source link

Convert `[` to `[[` in `gvm-installer` so that the script can run in zsh #454

Closed oantoro closed 7 months ago

oantoro commented 7 months ago

[with == operator doesn't work in zsh. I think the line https://github.com/moovweb/gvm/blob/dd652539fa4b771840846f8319fad303c7d0a8d2/binscripts/gvm-installer#L89 also uses [[ for the same reason.

oantoro commented 7 months ago

I am sorry, I didn't realize that was already a pull request that fix the issue. https://github.com/moovweb/gvm/pull/442