|
@ -22,10 +22,10 @@ _npm_run_completion() { |
|
|
# Fall back to default completion for all other npm commands |
|
|
# Fall back to default completion for all other npm commands |
|
|
else |
|
|
else |
|
|
compadd -- $(COMP_CWORD=$((CURRENT-1)) \ |
|
|
compadd -- $(COMP_CWORD=$((CURRENT-1)) \ |
|
|
COMP_LINE=$BUFFER \ |
|
|
COMP_LINE=$BUFFER \ |
|
|
COMP_POINT=0 \ |
|
|
COMP_POINT=0 \ |
|
|
npm completion -- "${words[@]}" \ |
|
|
npm completion -- "${words[@]}" \ |
|
|
2>/dev/null) |
|
|
2>/dev/null) |
|
|
IFS=$si |
|
|
IFS=$si |
|
|
fi |
|
|
fi |
|
|
} |
|
|
} |
|
|