Fix golang check

This commit is contained in:
Kevin Cotugno 2020-12-09 16:49:45 -07:00
parent 4540abf4e0
commit 0e2bd1b9a3

2
.zshrc
View File

@ -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