aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/node.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/node.rb')
-rw-r--r--Library/Formula/node.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb
index fe979b7ce..c180ec029 100644
--- a/Library/Formula/node.rb
+++ b/Library/Formula/node.rb
@@ -71,6 +71,9 @@ class Node < Formula
dir.install_symlink(file.relative_path_from(dir))
end
end
+
+ # install bash completion
+ bash_completion.install lib/"node_modules/npm/lib/utils/completion.sh" => 'npm'
end
end