Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in uninstall hook #46

Open
halostatue opened this issue Jul 5, 2024 · 0 comments
Open

Errors in uninstall hook #46

halostatue opened this issue Jul 5, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@halostatue
Copy link

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 halostatue added the bug Something isn't working label Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants