mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-24 15:38:06 +01:00
brew shellenv only if installed
This commit is contained in:
parent
4fb9aec200
commit
aed1729be5
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
fish_add_path /opt/homebrew/opt/curl/bin /opt/homebrew/bin /opt/homebrew/sbin $HOME/.local/bin $HOME/.cargo/bin $HOME/go/bin
|
||||
{{- if not (get . "sudo") }}
|
||||
fish_add_path $HOME/.local/homebrew/bin
|
||||
eval "$(brew shellenv)"
|
||||
command -v brew > /dev/null; and eval "$(brew shellenv)"
|
||||
{{- end }}
|
||||
{{- if eq .chezmoi.os "linux" }}
|
||||
fish_add_path /home/linuxbrew/.linuxbrew/bin $HOME/.local/share/JetBrains/Toolbox/scripts
|
||||
|
|
Loading…
Reference in a new issue