summaryrefslogtreecommitdiff
path: root/.zsh/zshenv
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/zshenv')
-rw-r--r--.zsh/zshenv/80_go5
1 files changed, 4 insertions, 1 deletions
diff --git a/.zsh/zshenv/80_go b/.zsh/zshenv/80_go
index 8ff29e2..3480627 100644
--- a/.zsh/zshenv/80_go
+++ b/.zsh/zshenv/80_go
@@ -2,7 +2,7 @@
#
# Set variables related to the Go programming language
#
-# Copyright © 2010-2015 Tobias Klauser <tklauser@distanz.ch>
+# Copyright © 2010-2016 Tobias Klauser <tklauser@distanz.ch>
# Released under the terms of the Artistic Licence 2.0
#
# Source repository: git://git.distanz.ch/dotfiles/zsh.git
@@ -30,6 +30,9 @@ if [ -d $_GOROOT ] ; then
esac
path_append $GOROOT/bin
+ if [ -d $GOPATH/bin ] ; then
+ path_append $GOPATH/bin
+ fi
fi
# vim:ft=zsh