diff --git a/configs/.zshrc b/configs/.zshrc index 4b6204a..b301f51 100644 --- a/configs/.zshrc +++ b/configs/.zshrc @@ -56,7 +56,7 @@ if [ -d "$HOME/.asdf" ] ; then . "$HOME/.asdf/asdf.sh" fi -if [ "$(which go)" != "" ] ; then +if type go &> /dev/null ; then export PATH="$PATH:$(go env GOPATH)/bin" fi