]> arthur.barton.de Git - ConfigScripts.git/commitdiff
Initialize bash-completion of Mac OS X "Homebrew" package
authorAlexander Barton <alex@barton.de>
Fri, 1 Jan 2010 10:00:33 +0000 (11:00 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 1 Jan 2010 10:00:33 +0000 (11:00 +0100)
sys/bashrc

index 4ebf424cbfc875950e908d37df729815f7cc1e62..544e6c156d07ccd0fefcae65e458b134e2633b09 100644 (file)
@@ -1,6 +1,6 @@
 #
 # /etc/bash.bashrc: System-wide rc file for interactive bash(1) shells.
-# Written 2003-2009 by Alexander Barton (alex@barton.de)
+# Written 2003-2010 by Alexander Barton (alex@barton.de)
 #
 
 [ -e ~/.ConfigScripts.debug ] && echo " >> /etc/bash.bashrc ..."
@@ -40,6 +40,8 @@ prefix="${chroot_name:+($chroot_name)}"
 # Enable bash completion, if available
 [ -z "$BASH_COMPLETION" -a -r /etc/bash_completion ] \
        && source /etc/bash_completion
+[ -z "$BASH_COMPLETION" -a -r /opt/homebrew/etc/bash_completion ] \
+       && source /opt/homebrew/etc/bash_completion
 [ -z "$BASH_COMPLETION" -a -r /opt/local/etc/bash_completion ] \
        && source /opt/local/etc/bash_completion