From 3a0d417b9eb49290e64acbe7973d5acf1794dcf8 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 21 Jun 2016 12:02:48 +0200 Subject: npm completions: Call command npm npm is often wrapped by a function. Fixes #3158. --- share/completions/npm.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/npm.fish b/share/completions/npm.fish index 534967ad..1dcb2766 100644 --- a/share/completions/npm.fish +++ b/share/completions/npm.fish @@ -49,7 +49,7 @@ function __fish_complete_npm --description "Complete the commandline using npm's set COMP_CWORD (math $COMP_CWORD + 1) set COMP_LINE $COMP_LINE "" end - npm completion -- $COMP_LINE ^/dev/null + command npm completion -- $COMP_LINE ^/dev/null end # use npm completion for most of the things, -- cgit v1.2.3