Skip to content

Commit

Permalink
fix(fish): use absolute brew paths in config.fish
Browse files Browse the repository at this point in the history
Previously `(brew --prefix)/bin` was being used. This caused a
chicken/egg problem though, because we couldn't call `brew` until it was
in the path. New Macs are Apple Si now, so assuming those paths
(`/opt/homebrew`) is probably an acceptable assumption.
  • Loading branch information
accidentaldevelopment committed Nov 13, 2023
1 parent a0ea85d commit 4fd58e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dot_config/private_fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if status is-interactive
fish_vi_key_bindings

fish_add_path "$HOME/.cargo/bin"
fish_add_path "$(brew --prefix)/bin" "$(brew --prefix)/sbin"
fish_add_path /opt/homebrew/bin /opt/homebrew/sbin

alias sr='ssh -l root'

Expand Down

0 comments on commit 4fd58e7

Please sign in to comment.