mirror of
https://github.com/cupcakearmy/dotfiles.git
synced 2024-12-22 08:16:32 +00:00
only execute brew if installed
This commit is contained in:
parent
ca63fe4ce6
commit
d980651c74
@ -3,7 +3,9 @@ set -g fish_user_paths "/usr/local/sbin" $fish_user_paths
|
||||
set -x PIPENV_VENV_IN_PROJECT true
|
||||
|
||||
export GOPATH="$HOME/.go"
|
||||
export GOROOT=(brew --prefix go)"/libexec"
|
||||
if type -q $program
|
||||
export GOROOT=(brew --prefix go)"/libexec"
|
||||
end
|
||||
export PATH="$PATH:$GOPATH/bin:$GOROOT/bin:$HOME/.cargo/bin"
|
||||
|
||||
# The next line updates PATH for the Google Cloud SDK.
|
||||
|
Loading…
Reference in New Issue
Block a user