add path for non-sudo homebrew

This commit is contained in:
Gabriel Augendre 2024-02-18 14:35:43 +01:00
parent 571009b4f0
commit 52d545abeb

View file

@ -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)"