gnebbia / kb

A minimalist command line knowledge base manager
GNU General Public License v3.0
3.12k stars 101 forks source link

Fish completion printing error #104

Open blahspam opened 1 year ago

blahspam commented 1 year ago

Expected Behavior

No error?

Actual Behavior

I don't use kb but have (had) an alias that triggers the kb completion. In Fish 3.6.0, the alias returns the following error when hitting

complete: too many arguments

/opt/homebrew/Cellar/fish/3.6.0/share/fish/completions/kb.fish (line 8):
complete -c kb -n "not __fish_seen_subcommand_from $commands" -a $commands
^
from sourcing file /opt/homebrew/Cellar/fish/3.6.0/share/fish/completions/kb.fish```

This isn't a bother and may not even be a bug worth fixing but thought I'd report it just in case.

Specifications

gnebbia commented 3 months ago

Thanks for your feedback and sorry for the extremely late reply, but I have no experience with fish. Let's keep it open in case some kind user of fish could hint us about the issue.