diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2016-06-21 12:02:48 +0200 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2016-06-21 12:03:29 +0200 |
commit | 3a0d417b9eb49290e64acbe7973d5acf1794dcf8 (patch) | |
tree | 032baf46014271b47434d89130b01ae19b46b5b4 | |
parent | 4b0f1cf85ba987b09351b4bfe3df3ed9bd59e4de (diff) |
npm completions: Call command npm
npm is often wrapped by a function.
Fixes #3158.
-rw-r--r-- | share/completions/npm.fish | 2 |
1 files changed, 1 insertions, 1 deletions
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, |