fix goroot

This commit is contained in:
cupcakearmy 2021-11-13 16:10:26 +01:00
parent 90740b427c
commit a67d63c04b
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ set -g fish_user_paths "/usr/local/sbin" $fish_user_paths
set -x PIPENV_VENV_IN_PROJECT true
export GOPATH="$HOME/.go"
if type -q $program
if type -q brew
export GOROOT=(brew --prefix go)"/libexec"
end
export PATH="$PATH:$GOPATH/bin:$GOROOT/bin:$HOME/.cargo/bin"