From 0e2bd1b9a33690808e23512e9e4ff6d566b245df Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Wed, 9 Dec 2020 16:49:45 -0700 Subject: [PATCH] Fix golang check --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 7baded1..5e429db 100644 --- a/.zshrc +++ b/.zshrc @@ -32,7 +32,7 @@ if [[ -z "$USER" ]]; then export USER fi -if [ $(command -v go) ] && [[ -d "$DEVPATH/go" ]]; then +if [[ $(command -v go) ]]; then export GOPATH="$DEVPATH/go" export PATH="$GOPATH/bin:$PATH" fi