summaryrefslogtreecommitdiff
path: root/.zsh/zshenv
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2020-03-03 14:07:10 +0100
committerTobias Klauser <tklauser@distanz.ch>2020-03-03 14:07:10 +0100
commita18050cfaf2ae501f3c20f68cbb85162c0bdd8f7 (patch)
tree00642e5714b01761a6b8a67bf7c92c1a7a7af435 /.zsh/zshenv
parent9b987e26a090022830ed6ba79fc95179ad7297f3 (diff)
zshenv: don't set $GOROOT
Diffstat (limited to '.zsh/zshenv')
-rw-r--r--.zsh/zshenv/80_go5
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