diff options
-rw-r--r-- | .zsh/zshenv/80_go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.zsh/zshenv/80_go b/.zsh/zshenv/80_go index 5c1d7d7..7460ee9 100644 --- a/.zsh/zshenv/80_go +++ b/.zsh/zshenv/80_go @@ -10,7 +10,6 @@ _GOROOT="/usr/local/go" if [ -d $_GOROOT ] ; then - export GOROOT="$_GOROOT" export GOPATH="$HOME/go" arch="$(uname -m)" @@ -27,10 +26,12 @@ if [ -d $_GOROOT ] ; then *) export GOOS="unsupported";; esac - path_append $GOROOT/bin + path_append $_GOROOT/bin if [ -d $GOPATH/bin ] ; then path_append $GOPATH/bin fi fi +alias gotip=$HOME/src/go/bin/go + # vim:ft=zsh |