pnpm-shell-completion
pnpm-shell-completion copied to clipboard
Issue of not enough arguments
Hi,
Currently I am using your completion, but the completion of packages does not work on my computer. When I type pnpm remove <tab>, it prompts the following
❯ pnpm remove
_values:compvalues:11: not enough arguments
_values:compvalues:11: not enough arguments
_values:compvalues:11: not enough arguments
But I can use command completion such as remove (when I type pnpm re<tab>, will completion to pnpm remove )
OS: macOS 13.5 M1 chip node: 20.5.0 pnpm: 8.6.11 shell: zsh + zinit
Do you have any idea?
I'm a completion novice. How can I debug this error?
This completion will run an executable file. I'm not sure whether there will be permission issue on macOS or not.
I just opened the plugin directory to check it, pnpm-shell-completion files have x permissions
I also installed your g-plane/zsh-yarn-autocompletions plugin, it works fine.
I suspect it's pnpm where something went wrong. But I don't have any clue, how do I locate if it's a pnpm issue?
No, it shouldn't be a pnpm issue, because it doesn't use pnpm.
I have no idea about this currently. Let's keep issue open and see if there're similar problems.