From 77766d1785a073a89a1408c27b377c3b79618ae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Audrius=20Ka=C5=BEukauskas?= Date: Sat, 17 Dec 2011 23:38:47 -0600 Subject: network/node: Updated for version 0.6.6. Signed-off-by: Robby Workman --- network/node/npm.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 network/node/npm.sh (limited to 'network/node/npm.sh') 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 -- cgit v1.2.3