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

View File

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