add path for bash completion
authorAnton Shemerey <shemerey@gmail.com>
Thu, 26 May 2011 20:21:34 +0000 (23:21 +0300)
committerAnton Shemerey <shemerey@gmail.com>
Thu, 26 May 2011 20:21:34 +0000 (23:21 +0300)
completion/brew.completion.bash

index 371fe77..50f6c08 100644 (file)
@@ -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