diff --git a/.zprofile b/.zprofile index 506d646..4742030 100644 --- a/.zprofile +++ b/.zprofile @@ -37,8 +37,9 @@ if [ -d "$HOME/.cargo/bin" ] ; then fi # if `$HOME/go/bin` exists, add it to $GOPATH -if [ -d "$HOME/go/bin" ] ; then - GOPATH="$HOME/go/bin" +if [ -d "$HOME/.go/bin" ] ; then + GOPATH="$HOME/.go/bin" + PATH="$GOPATH:$PATH" fi # if `/usr/local/go/bin` exists, add it and $GOPATH to $PATH