Code Review
/
common
/
bash_it.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
8f0b38a
)
add path for bash completion
author
Anton Shemerey
<shemerey@gmail.com>
Thu, 26 May 2011 20:21:34 +0000
(23:21 +0300)
committer
Anton Shemerey
<shemerey@gmail.com>
Thu, 26 May 2011 20:21:34 +0000
(23:21 +0300)
completion/brew.completion.bash
patch
|
blob
|
history
diff --git
a/completion/brew.completion.bash
b/completion/brew.completion.bash
index
371fe77
..
50f6c08
100644
(file)
--- a/
completion/brew.completion.bash
+++ b/
completion/brew.completion.bash
@@
-1,5
+1,9
@@
if which brew >/dev/null 2>&1; then
+ if [ -f `brew --prefix`/etc/bash_completion ]; then
+ . `brew --prefix`/etc/bash_completion
+ fi
+
if [ -f `brew --prefix`/Library/Contributions/brew_bash_completion.sh ]; then
. `brew --prefix`/Library/Contributions/brew_bash_completion.sh
fi
-fi
\ No newline at end of file
+fi