From ec07ad323cc80788a44ec2fe753f46ed3f6d5fef Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Fri, 14 Feb 2020 17:17:51 +0100 Subject: [PATCH] completions/npm: Allow files for "install" Fixes #6596 [ci skip] (cherry picked from commit 56040d2d7fb20ff739eaf1d34fe75c1d8721e381) --- share/completions/npm.fish | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/share/completions/npm.fish b/share/completions/npm.fish index 68e8b8f3d..2a1139625 100644 --- a/share/completions/npm.fish +++ b/share/completions/npm.fish @@ -128,10 +128,10 @@ complete -f -c npm -n "__fish_npm_needs_command" -a 'set' -d 'Sets the config ke # install for c in 'install' 'isntall' 'i' - complete -f -c npm -n '__fish_npm_needs_command' -a "$c" -d 'install a package' - complete -f -c npm -n "__fish_npm_using_command $c" -l save-dev -d 'Save to devDependencies in package.json' - complete -f -c npm -n "__fish_npm_using_command $c" -l save -d 'Save to dependencies in package.json' - complete -f -c npm -n "__fish_npm_using_command $c" -s g -l global -d 'Install package globally' + complete -c npm -n '__fish_npm_needs_command' -a "$c" -d 'install a package' + complete -c npm -n "__fish_npm_using_command $c" -l save-dev -d 'Save to devDependencies in package.json' + complete -c npm -n "__fish_npm_using_command $c" -l save -d 'Save to dependencies in package.json' + complete -c npm -n "__fish_npm_using_command $c" -s g -l global -d 'Install package globally' end # list