Fresh install of fisher yields an error on this line due to there being no packages, so the expansion fails.
Reproduce:
fisher on a system that has never had fisherfisher or fisher addLog
~/.config/fish/functions/fisher.fish (line 1): No matches for wildcard '$fisher_config/*/*/*'. See `help expand`.
_fisher_pkg_remove_all $fisher_config/*/*/*
^
in command substitution
called on line 144 of file ~/.config/fish/functions/fisher.fish
in function '_fisher_commit'
called on line 59 of file ~/.config/fish/functions/fisher.fish
in function 'fisher'
called on standard input
nothing to commit -- try adding some packages
Hi @onbjerg
Could you post the exact commands you entered on the command line? Thanks.
@jorgebucaran
Above error is from just running fisher.
Running fisher add oh-my-fish/theme-robbyrussell yields this error:
~/.config/fish/functions/fisher.fish (line 1): No matches for wildcard '$fisher_config/*/*/*'. See `help expand`.
_fisher_pkg_remove_all $fisher_config/*/*/*
^
in command substitution
called on line 144 of file ~/.config/fish/functions/fisher.fish
in function '_fisher_commit'
called on line 59 of file ~/.config/fish/functions/fisher.fish
with parameter list 'add oh-my-fish/theme-robbyrussell'
in function 'fisher'
called on standard input
with parameter list 'add oh-my-fish/theme-robbyrussell'
fetching https://codeload.github.com/oh-my-fish/theme-robbyrussell/tar.gz/master
linking ~/.config/fish/functions/fish_prompt.fish
added 1 package in 0.75s
It installs the package successfully though, and then all errors going forward (so far) disappear altogether.
@onbjerg Could you tell me your fish version and operating system?
I'm unable to reproduce this on a fresh fisher install.
x@oni ~> ll ~/.config/fish/completions/ ~/.config/fish/functions/
/Users/x/.config/fish/completions/:
/Users/x/.config/fish/functions/:
total 8
-rw-r--r-- 1 x staff 102B Sep 29 21:53 fish_user_key_bindings.fish
x@oni ~> fisher
fish: Unknown command 'fisher'
x@oni ~> curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
x@oni ~> fisher
created empty fishfile in ~/.config/fish/fishfile
nothing to commit -- try adding some packages
@onbjerg Nevermind, I was using fish 2.0 (for testing purposes) and failed to remember fish 2.3+ changed the default behavior. I can reproduce this now. This is a bug.
cc @faho
It is on a colleagues system, he just installed fish and I recommended him to install fisher, unaware that V3 was released. So can confirm he is running fish 2.3+
@onbjerg Should be fixed in 3.0.3 (13eba77). 馃帀
Please use fisher self-update to pull the changes.