Closed kuncevic closed 10 months ago
Just noticed may be related to this one https://github.com/fish-shell/fish-shell/issues/5176
The issue might be due to a mismatch between the function name and the file name. If your function is called xd
, then the file should also be named xd.fish
, not execute_dir.fish
.
FYI, I don't support the brew installation. It shouldn't exist. Stick to the installation steps in the README. 🙏
@jorgebucaran oh, really, I didn't know that func name should be equal to file name. Is it documented anywhere?
This isn't a Fisher thing; it's Fish.
Fish automatically looks for a function when you try to run a command, searching in ~/.config/fish/functions
. So, if you want a function called foo
, you create a file named foo.fish
in that directory.
@jorgebucaran yeah I understand, thanks for point that out. Problem solved!
Just notice that my custom plugin with user function doesn't load on terminal start unless I run any random meaningful command in terminal.
I've looked into this one https://github.com/jorgebucaran/fisher/issues/462 but could not figure out the cause
I've installed fish and fisher using brew
My env:
fisher: version 4.4.4 fish: version 3.6.1 macos 13.4.1
All above return empty