mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 15:37:24 +00:00
npm completions: Call command npm
npm is often wrapped by a function. Fixes #3158.
This commit is contained in:
parent
4b0f1cf85b
commit
3a0d417b9e
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue