.zshrc: Add paths for binary Golang distribution
Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
9ab16d43ad
commit
74ad228591
8
.zshrc
8
.zshrc
@ -82,5 +82,13 @@ fi
|
||||
# If a private bin directory exists, add it to PATH
|
||||
[[ -d ~/bin ]] && PATH=$PATH:~/bin
|
||||
|
||||
# If a binary go distribution exists, add it to PATH
|
||||
# From here: http://golang.org/dl/
|
||||
if [[ -d ~/Downloads/go ]]; then
|
||||
export GOROOT=~/Downloads/go
|
||||
export GOPATH=~/src/go
|
||||
PATH=$PATH:$GOROOT/bin:$GOPATH/bin
|
||||
fi
|
||||
|
||||
export PATH
|
||||
export MANPATH
|
||||
|
Loading…
Reference in New Issue
Block a user