summary refs log tree commit diff stats
path: root/tag-zsh/config
diff options
context:
space:
mode:
authorAlan Pearce2014-05-15 20:07:39 +0100
committerAlan Pearce2014-05-15 20:07:39 +0100
commitc03f96261438cf5c3f021f581e3f8d5f8c2aad51 (patch)
tree282c6726a56577888c9b3d61f8ddfb27a089bbd6 /tag-zsh/config
parent2eb99efd81931f9fcd1d0da2f93a366edc11408b (diff)
downloadnixfiles-c03f96261438cf5c3f021f581e3f8d5f8c2aad51.tar.lz
nixfiles-c03f96261438cf5c3f021f581e3f8d5f8c2aad51.tar.zst
nixfiles-c03f96261438cf5c3f021f581e3f8d5f8c2aad51.zip
zsh: set GOPATH and add bin folder to PATH
Diffstat (limited to 'tag-zsh/config')
-rwxr-xr-xtag-zsh/config/zsh/zshenv3
1 files changed, 3 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshenv b/tag-zsh/config/zsh/zshenv
index 0cc65be4..5aeb0e7e 100755
--- a/tag-zsh/config/zsh/zshenv
+++ b/tag-zsh/config/zsh/zshenv
@@ -1,10 +1,13 @@
 # -*- mode: sh; -*-
+export GOPATH="$HOME/projects/go"
+
 if [[ $defpath == ""  && -d ~/bin ]]
 then
 	defpath=($path)
 	path=(
 		$defpath
 		~/bin
+		$GOPATH/bin
 	)
 	if [[ -d ~/.gem/ruby/*/bin ]]
 	then