Fix golang check
This commit is contained in:
parent
4540abf4e0
commit
0e2bd1b9a3
2
.zshrc
2
.zshrc
@ -32,7 +32,7 @@ if [[ -z "$USER" ]]; then
|
|||||||
export USER
|
export USER
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $(command -v go) ] && [[ -d "$DEVPATH/go" ]]; then
|
if [[ $(command -v go) ]]; then
|
||||||
export GOPATH="$DEVPATH/go"
|
export GOPATH="$DEVPATH/go"
|
||||||
export PATH="$GOPATH/bin:$PATH"
|
export PATH="$GOPATH/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user