diff options
author | Alan Pearce | 2014-05-15 20:07:39 +0100 |
---|---|---|
committer | Alan Pearce | 2014-05-15 20:07:39 +0100 |
commit | c03f96261438cf5c3f021f581e3f8d5f8c2aad51 (patch) | |
tree | 282c6726a56577888c9b3d61f8ddfb27a089bbd6 /tag-zsh/config/zsh/zshenv | |
parent | 2eb99efd81931f9fcd1d0da2f93a366edc11408b (diff) | |
download | nixfiles-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/zsh/zshenv')
-rwxr-xr-x | tag-zsh/config/zsh/zshenv | 3 |
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 |