aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/npm.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/completions/npm.fish')
-rw-r--r--share/completions/npm.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/npm.fish b/share/completions/npm.fish
index 2e65719f..e2f7277e 100644
--- a/share/completions/npm.fish
+++ b/share/completions/npm.fish
@@ -7,7 +7,7 @@
function __fish_npm_needs_command
set cmd (commandline -opc)
- if [ (count $cmd) -eq 1 -a $cmd[1] = 'npm' ]
+ if [ (count $cmd) -eq 1 ]
return 0
end