diff options
| author | Jason Karns | 2014-02-06 15:37:46 -0500 |
|---|---|---|
| committer | Mike McQuaid | 2014-02-06 20:48:08 +0000 |
| commit | 82bc8e1436eae9d3cccd72f98a402742750e0adb (patch) | |
| tree | a24ea326c130c79e5a5bb29d076dc883dfdb0dd3 /Library/Formula | |
| parent | e519e5f69213ea765a0f28a4c8dbe0a2f39e736c (diff) | |
| download | homebrew-82bc8e1436eae9d3cccd72f98a402742750e0adb.tar.bz2 | |
node: install npm bash completion (if with-npm)
Closes #26483.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/node.rb | 3 |
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 |
