You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
postsolar
changed the title
Generated completions for Fish shell don't work for Spago.
Generated completions for Fish shell don't work for Spago
Oct 19, 2023
After looking at it for a bit, I notice two things:
I used PNPM to install spago and it bundles the package so the program name ends up being bundle.js. bundle.js is also what shows up in the output of spago --help. This is the case also with Bash and ZSH. If I use NPM as the installation method this problem doesn't show up.
There is something wrong with the indexing. It generates args like --bash-completion-enriched --bash-completion-index 1 --bash-completion-word "spago build", where the index is always 1.
Describe the bug
Generated completions for Fish shell don't work for Spago
To Reproduce
Expected behavior
Shell completions appear upon pressing tab etc.
Additional context
Fish 3.6.1
Spago v0.93.18
Generated script:
The text was updated successfully, but these errors were encountered: