diff options
author | Robby Russell <robby@planetargon.com> | 2011-05-31 21:24:01 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2011-05-31 21:24:01 -0700 |
commit | 643a4e77f639c1742d1ce01d8028649ae12f8e62 (patch) | |
tree | 0b966b315750a74dc045e1c680f85ebcdd799589 /plugins/brew | |
parent | ba0f13604aadaecb93ca83cc524471ddd1c853b5 (diff) | |
parent | 9801ad6453caa05925847f63401e6266378eb2de (diff) | |
download | zsh-643a4e77f639c1742d1ce01d8028649ae12f8e62.tar.gz zsh-643a4e77f639c1742d1ce01d8028649ae12f8e62.tar.bz2 zsh-643a4e77f639c1742d1ce01d8028649ae12f8e62.zip |
Merge pull request #375 from betawaffle/rollback-366
Rollback of Pull #366
Diffstat (limited to 'plugins/brew')
-rw-r--r-- | plugins/brew/brew.plugin.zsh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/brew/brew.plugin.zsh b/plugins/brew/brew.plugin.zsh index f584a4684..c2e95884e 100644 --- a/plugins/brew/brew.plugin.zsh +++ b/plugins/brew/brew.plugin.zsh @@ -1,13 +1 @@ -# Move /usr/local/bin (path where brews are linked) to the front of the path -# This will allow us to override system binaries like ruby with our brews -# TODO: Do this in a more compatible way. -# What if someone doesn't have /usr/bin in their path? -export PATH=`echo $PATH | sed -e 's|/usr/local/bin||' -e 's|::|:|g'` # Remove /usr/local/bin -export PATH=`echo $PATH | sed -e 's|/usr/bin|/usr/local/bin:&|'` # Add it in front of /usr/bin -export PATH=`echo $PATH | sed -e 's|/usr/bin|/usr/local/sbin:&|'` # Add /usr/local/sbin - alias brews='brew list -1' - -function brew-link-completion { - ln -s "$(brew --prefix)/Library/Contributions/brew_zsh_completion.zsh" "$ZSH/plugins/brew/_brew.official" -} |