summaryrefslogtreecommitdiff
path: root/.zsh/zshenv
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-11-09 15:55:24 +0100
committerTobias Klauser <tklauser@distanz.ch>2016-11-09 15:57:53 +0100
commit2094ad6a0410b2e19a062fa8f17493a316468fe9 (patch)
tree6eea992c8ab6b55d785bf30b1d44a6cea10be749 /.zsh/zshenv
parent5229d2c0520660e65ec83318b7be02e1efa10b04 (diff)
zshenv/80_go: add $GOSPACE/bin to PATH
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