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 | |
parent | 2eb99efd81931f9fcd1d0da2f93a366edc11408b (diff) | |
download | dotfiles-c03f96261438cf5c3f021f581e3f8d5f8c2aad51.tar.lz dotfiles-c03f96261438cf5c3f021f581e3f8d5f8c2aad51.tar.zst dotfiles-c03f96261438cf5c3f021f581e3f8d5f8c2aad51.zip |
zsh: set GOPATH and add bin folder to PATH
Diffstat (limited to 'tag-zsh')
-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 0cc65be..5aeb0e7 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 |