g-plane / pnpm-shell-completion

Complete your pnpm command fastly.
MIT License
119 stars 10 forks source link

overwrite shell completion cmd if it already exists #28

Closed h3adache closed 1 month ago

h3adache commented 1 month ago

If you rerun zplug.zsh (on an update or otherwise), it will fail due to unzip not overwriting the previously installed cmd.

Manually run, it will prompt if you want to overwrite but when used from a zsh framework (such as zimfw), it will not have interactivity.

x pnpm-shell-completion: Error during on-pull
  Archive:  zipball.zip
  replace pnpm-shell-completion? [y]es, [n]o, [A]ll, [N]one, [r]ename:  NULL
  (EOF or read error, treating as "[N]one" ...)