diff --git a/dot_config/fish/private_config.fish.tmpl b/dot_config/fish/private_config.fish.tmpl index c3c9c7e..7ddbfea 100644 --- a/dot_config/fish/private_config.fish.tmpl +++ b/dot_config/fish/private_config.fish.tmpl @@ -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)"