From c03f96261438cf5c3f021f581e3f8d5f8c2aad51 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 15 May 2014 20:07:39 +0100 Subject: zsh: set GOPATH and add bin folder to PATH --- tag-zsh/config/zsh/zshenv | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tag-zsh/config') 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 -- cgit 1.4.1