mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
completions/npm: offer package completions for "npm add" and "npm i"
Closes #8472
This commit is contained in:
parent
7f86794881
commit
37f385b193
1 changed files with 1 additions and 1 deletions
|
@ -204,4 +204,4 @@ complete -f -c npm -n __fish_npm_needs_command -a unpublish -d 'Remove a package
|
|||
complete -f -c npm -n __fish_npm_needs_command -a unstar -d 'Remove star from a package'
|
||||
complete -f -c npm -n __fish_npm_needs_command -a version -d 'Bump a package version'
|
||||
complete -f -c npm -n __fish_npm_needs_command -a whoami -d 'Display npm username'
|
||||
complete -f -c npm -n '__fish_seen_subcommand_from install; and not __fish_is_switch' -a "(__yarn_filtered_list_packages \"$npm_install\")"
|
||||
complete -f -c npm -n '__fish_seen_subcommand_from add i install; and not __fish_is_switch' -a "(__yarn_filtered_list_packages \"$npm_install\")"
|
||||
|
|
Loading…
Reference in a new issue