Use OS dependent valur for GOPATH
This commit is contained in:
parent
b822957a80
commit
3d57591a6a
1 changed files with 2 additions and 1 deletions
3
zshrc
3
zshrc
|
@ -151,7 +151,8 @@ auto-ls () {
|
|||
chpwd_functions=( auto-ls $chpwd_functions )
|
||||
|
||||
# Go Lang stuff
|
||||
export GOPATH=$HOME/Development/go
|
||||
test "$platform" = 'linux' && export GOPATH=$HOME/go
|
||||
test "$platform" = 'osx' && export GOPATH=$HOME/Development/go
|
||||
export PATH="$PATH:/usr/local/opt/go/libexec/bin:$GOPATH/bin"
|
||||
|
||||
# GnuPG stuff
|
||||
|
|
Loading…
Add table
Reference in a new issue