aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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