I've just updated to the latest version and faced an issue:
1) Open Terminal (I use gnome3 terminal).
2) Type fisher.
3) Type space.
4) Type a (or any unknown command).
5) Type space again.
These steps will cause an error:
➜ ~ fisher a fisher: unknown flag or command "--complete"
usage: fisher add <package...> Add packages
fisher rm <package...> Remove packages
fisher Update all packages
fisher ls [<regex>] List installed packages matching <regex>
fisher --help Show this help
fisher --version Show the current version
fisher self-update Update to the latest version
fisher self-uninstall Uninstall from your system
examples:
fisher add jethrokuan/z rafaelrinaldi/pure
fisher add gitlab.com/foo/bar@v2
fisher add ~/path/to/local/pkg
fisher add <file
fisher rm rafaelrinaldi/pure
fisher ls | fisher rm
fisher ls fish-\*
This happens only with the newly opened Terminal.
➜ ~ fish --version
fish, version 2.7.1
➜ ~ fisher --version
fisher version 3.2.8 ~/.config/fish/functions/fisher.fish
@digaev Updated to the latest version from what version?
@jorgebucaran from 2.x as I remember.
@digaev Ah, yes, makes sense. To solve this open ~/.config/fish/completions/fisher.fish and edit the file as follows:
- fisher --complete
+ fisher complete
That should do it.
Most helpful comment
@digaev Ah, yes, makes sense. To solve this open
~/.config/fish/completions/fisher.fishand edit the file as follows:That should do it.