aboutsummaryrefslogtreecommitdiff
path: root/network/iojs/npm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'network/iojs/npm.sh')
-rw-r--r--network/iojs/npm.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/iojs/npm.sh b/network/iojs/npm.sh
index d02759059784f..3c7a3590d80f7 100644
--- a/network/iojs/npm.sh
+++ b/network/iojs/npm.sh
@@ -21,10 +21,10 @@ if type complete &>/dev/null; then
2>/dev/null)) || return $?
IFS="$si"
}
- complete -F _npm_completion npm
+ complete -o default -F _npm_completion npm
elif type compdef &>/dev/null; then
_npm_completion() {
- si=$IFS
+ local si=$IFS
compadd -- $(COMP_CWORD=$((CURRENT-1)) \
COMP_LINE=$BUFFER \
COMP_POINT=0 \