aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorarlolra2010-11-07 13:24:17 -0800
committerAdam Vandenberg2010-11-07 13:48:25 -0800
commitd01438ef5aaaf9ff366689037b6ece0d908a04ef (patch)
treeff36ad5bc113c04472430e52663f8e79ffe8d533 /Library/Formula
parentc786329d22b7d6a4a9df49986632d8a7992e8714 (diff)
downloadhomebrew-d01438ef5aaaf9ff366689037b6ece0d908a04ef.tar.bz2
npm bash-completion
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/npm.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/npm.rb b/Library/Formula/npm.rb
index 085469196..b3f167855 100644
--- a/Library/Formula/npm.rb
+++ b/Library/Formula/npm.rb
@@ -52,6 +52,9 @@ EOS
# install the wrapper executable
(bin+"npm").write executable
+
+ # bash-completion
+ (prefix+'etc/bash_completion.d').install libexec+'npm-completion.sh'
end
def caveats; <<-EOS.undent