diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2011-12-17 23:38:47 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-12-17 23:38:47 -0600 |
commit | 77766d1785a073a89a1408c27b377c3b79618ae1 (patch) | |
tree | 07ace6fa3b2245d67563203b5dab5418099270ac /network/node/npm.sh | |
parent | 9d2aeabb209ea6e3f7fe394fdc2b3d3810cd9b3b (diff) | |
download | slackbuilds-77766d1785a073a89a1408c27b377c3b79618ae1.tar.gz |
network/node: Updated for version 0.6.6.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/node/npm.sh')
-rw-r--r-- | network/node/npm.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/network/node/npm.sh b/network/node/npm.sh new file mode 100644 index 0000000000..71a1fae403 --- /dev/null +++ b/network/node/npm.sh @@ -0,0 +1,12 @@ +# bash completion for npm + +_npm_completion () { + local si="$IFS" + IFS=$'\n' COMPREPLY=($(COMP_CWORD="$COMP_CWORD" \ + COMP_LINE="$COMP_LINE" \ + COMP_POINT="$COMP_POINT" \ + npm completion -- "${COMP_WORDS[@]}" \ + 2>/dev/null)) || return $? + IFS="$si" +} +complete -F _npm_completion npm |