aboutsummaryrefslogtreecommitdiff
path: root/network/iojs/npm.sh
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2015-03-19 16:51:27 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-22 15:33:17 +0700
commitad5a59e71e8dc8aac86b8c52c0fc7b20db389330 (patch)
treec86f06840f11e13b70d439152141c5ad34679c67 /network/iojs/npm.sh
parenteb3e720983fc49c2300c20e4dd515282266577b3 (diff)
network/iojs: Updated for version 1.6.1.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
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 d02759059784..3c7a3590d80f 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 \