Skip to content

Commit

Permalink
[fish] Ensure brew paths are ahead of /usr/bin, /usr/sbin, and etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
rouge8 committed Mar 12, 2024
1 parent d24718d commit fdff49e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .config/fish/config.fish.symlink
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
if status --is-login
if test -f /opt/homebrew/bin/brew
eval (/opt/homebrew/bin/brew shellenv)

# Homebrew bin/sbin already end up on $PATH by this point, but in the
# wrong position. `--move` will move them closer to the front.
fish_add_path -g --prepend --move $HOMEBREW_PREFIX/bin $HOMEBREW_PREFIX/sbin
end

# Cargo
Expand Down

0 comments on commit fdff49e

Please sign in to comment.