diff --git a/README b/README index 506fdfc..8527513 100644 --- a/README +++ b/README @@ -25,6 +25,8 @@ To install: bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer) +Or if you are using zsh just change `bash` with `zsh` + Installing Go ============= gvm install go1 diff --git a/README.md b/README.md index 892ed49..c5545eb 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ To install: bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer) +Or if you are using zsh just change `bash` with `zsh` + Installing Go ============= gvm install go1 diff --git a/binscripts/gvm-installer b/binscripts/gvm-installer index d899bf3..3a493be 100755 --- a/binscripts/gvm-installer +++ b/binscripts/gvm-installer @@ -19,7 +19,7 @@ update_profile() { check_existing_go() { - if [ "$GOROOT" == "" ]; then + if [ "$GOROOT" = "" ]; then if which go > /dev/null; then GOROOT=$(go env | grep GOROOT | cut -d"=" -f2) else