mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-13 02:03:59 +01:00
add path for non-sudo homebrew
This commit is contained in:
parent
571009b4f0
commit
52d545abeb
1 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,8 @@
|
|||
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)"
|
||||
{{- end }}
|
||||
{{- if eq .chezmoi.os "linux" }}
|
||||
fish_add_path /home/linuxbrew/.linuxbrew/bin $HOME/.local/share/JetBrains/Toolbox/scripts
|
||||
eval "$(brew shellenv)"
|
||||
|
|
Loading…
Reference in a new issue