fifc icon indicating copy to clipboard operation
fifc copied to clipboard

Errors in uninstall hook

Open halostatue opened this issue 7 months ago • 0 comments

Describe the bug

Errors are printed while running the fisher uninstall hook.

To Reproduce

Steps to reproduce the behavior:

$ fisher remove gazorby/fifc
fisher remove version 4.4.4
set: --erase: option requires an argument

~/.config/fish/conf.d/fifc.fish (line 68):
        set -e $_fifc_ordered_comp[$i]
        ^
in function '_fifc_uninstall'
	called on line 1 of file ~/.config/fish/functions/fisher.fish
in event handler: handler for generic event “fifc_uninstall”
	called on line 135 of file ~/.config/fish/functions/fisher.fish

(Type 'help set' for related documentation)
~/.config/fish/conf.d/fifc.fish (line 68): array indices start at 1, not 0.
        set -e $_fifc_ordered_comp[$i]
                                    ^
in function '_fifc_uninstall'
	called on line 1 of file ~/.config/fish/functions/fisher.fish
in event handler: handler for generic event “fifc_uninstall”
	called on line 135 of file ~/.config/fish/functions/fisher.fish

System (please complete the following information):

  • fish 3.7.1
  • Distribution macOS (but this should happen anywhere)

halostatue avatar Jul 05 '24 14:07 halostatue