Skip to content

Commit

Permalink
bugfix: full path to homebrew binary
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfallshaw committed Dec 26, 2011
1 parent 4e17ed9 commit 89e0159
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ fi
# bash completion
if [ -f `brew --prefix`/etc/bash_completion ]; then # homebrew bash-completion
. `brew --prefix`/etc/bash_completion
if [ -f `/usr/local/bin/brew --prefix`/etc/bash_completion ]; then # homebrew bash-completion
. `/usr/local/bin/brew --prefix`/etc/bash_completion
elif [ -f /opt/local/etc/bash_completion ]; then # macports port bash-completion
. /opt/local/etc/bash_completion
elif [ -f /etc/bash_completion ]; then
Expand Down Expand Up @@ -98,6 +98,10 @@ export MPD_PORT=6600
export AUTOFEATURE=true
export RSPEC=true
# Autojump
if [ -f `/usr/local/bin/brew --prefix`/etc/autojump ]; then
. `/usr/local/bin/brew --prefix`/etc/autojump
fi
# Alias definitions.
[ -f ~/.bash_aliases ] && source ~/.bash_aliases
Expand Down

0 comments on commit 89e0159

Please sign in to comment.