Platform specific GO paths
This commit is contained in:
parent
47c47a59c5
commit
e7020db02d
1 changed files with 4 additions and 2 deletions
6
zshrc
6
zshrc
|
@ -146,8 +146,10 @@ auto-ls () {
|
|||
chpwd_functions=( auto-ls $chpwd_functions )
|
||||
|
||||
# Go Lang stuff
|
||||
export GOPATH=$HOME/Development/go
|
||||
export PATH="$PATH:/usr/local/opt/go/libexec/bin:$GOPATH/bin"
|
||||
test "$platform" = 'osx' && export GOPATH="$HOME/Development/go"
|
||||
test "$platform" = 'osx' && export PATH="$PATH:/usr/local/opt/go/libexec/bin:$GOPATH/bin"
|
||||
test "$platform" = 'linux' && export GOPATH="$HOME/mygo"
|
||||
test "$platform" = 'linux' && export PATH="$PATH:/usr/lib/go-1.7/bin:$GOPATH/bin"
|
||||
|
||||
# GnuPG stuff
|
||||
GPG_TTY=`tty`
|
||||
|
|
Loading…
Add table
Reference in a new issue