From dd42271f785116f27ea88020cafba5443075c774 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Tue, 4 Jan 2022 15:49:57 +0100 Subject: [PATCH] fix --- configs/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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