Closed IlanCosman closed 2 years ago
@IlanCosman This requires at least what version of Fish?
Do you mean when did status fish-path
get released? It's been there since Fish 3.0 https://github.com/fish-shell/fish-shell/commit/e212269ab1b29a1456ce47c335ae57fb5789ea79.
And I'm pretty sure foo=bar
as a way of setting variables has been around for a while as well. Can always change it to set
if not.
fish may not be an available command, for example if it was installed through
brew
.
Doesn't brew put Fish in your PATH? I install Fish via brew too and I've never had to do that. Or I could've added it myself and forgotten about it. 😅
Doesn't brew put Fish in your PATH?
/opt/homebrew/bin/
isn't in PATH by default. Has to get added, If you want to test it, back up your ~/.config/fish
and then delete it. You shouldn't have access to any commands installed through brew
.
Yes. Then I must have added it to my PATH. Makes sense. 👍
fish
may not be an available command, for example if it was installed throughbrew
. Whenever Irm -r ~/.config/fish/
on my mac (for developing Tide), I have tofish_add_path /opt/homebrew/bin/
before I run myfisher
command. Instead, lets just guarantee a valid command by using the path to the current instance of fish. Tide already does this and it has worked fine so far.