From 82bc8e1436eae9d3cccd72f98a402742750e0adb Mon Sep 17 00:00:00 2001 From: Jason Karns Date: Thu, 6 Feb 2014 15:37:46 -0500 Subject: node: install npm bash completion (if with-npm) Closes #26483. Signed-off-by: Mike McQuaid --- Library/Formula/node.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library/Formula') 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 -- cgit v1.2.3