Reputation: 651
I've got Fish installed on Ventura (via the installer) as my default Shell. I've also installed Brew (via the installer).
I've seen instructions for how to add it to .zsh profile, but how / where do I add this to fish so that running brew from fish is pointed at correct place?
Upvotes: 8
Views: 6121
Reputation: 2874
You can create a file in your fish conf.d
folder and run brew shellenv
to let it add itself to the path and do whatever else it needs.
This is what I have:
$ cat ~/.config/fish/conf.d/brew.fish
/opt/homebrew/bin/brew shellenv | source
Upvotes: 0
Reputation: 18561
Use fish_add_path
. Documentation is here.
Example: fish_add_path /opt/homebrew/bin
Upvotes: 12