fix(zsh): export go path to execute programmes installed with go get
This commit is contained in:
parent
b751a5f34b
commit
4ccb9323a1
1 changed files with 4 additions and 1 deletions
|
|
@ -76,7 +76,10 @@ export PATH=$PATH:$HOME/.config/composer/vendor/bin
|
|||
#
|
||||
# Set up golang
|
||||
#
|
||||
export GOPATH=$HOME/go
|
||||
if [ -d $HOME/go ]; then
|
||||
export GOPATH=$HOME/go
|
||||
export PATH=$PATH:$GOPATH/bin
|
||||
fi
|
||||
|
||||
#
|
||||
# Init oh-my-zsh
|
||||
|
|
|
|||
Loading…
Reference in a new issue