Skip to content

Commit

Permalink
Fix GOROOT for fish shells
Browse files Browse the repository at this point in the history
Follow-up of #22
  • Loading branch information
syndbg committed Apr 2, 2017
1 parent 8e32646 commit 80fb488
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libexec/goenv-init
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ mkdir -p "${GOENV_ROOT}/"{shims,versions}
case "$shell" in
fish )
echo "setenv PATH '${GOENV_ROOT}/shims' \$PATH"
echo "setenv GOROOT '$(goenv prefix)'"
echo "setenv GOENV_SHELL $shell"
echo "setenv GOROOT (goenv prefix)"
;;
* )
echo 'export PATH="'${GOENV_ROOT}'/shims:${PATH}"'
echo 'export GOROOT="$(goenv prefix)"'
echo "export GOENV_SHELL=$shell"
echo 'export GOROOT="$(goenv prefix)"'
;;
esac

Expand Down

0 comments on commit 80fb488

Please sign in to comment.