summaryrefslogtreecommitdiff
path: root/plugins/brew
diff options
context:
space:
mode:
authorAndrew Hodges <betawaffle@gmail.com>2011-05-30 10:07:15 -0400
committerAndrew Hodges <betawaffle@gmail.com>2011-05-30 10:09:00 -0400
commit1e3b441ce7e0b8706867801c1e5e7ca6760ff17e (patch)
treea5a242dab096e90f16e36262e09168a78c2c6244 /plugins/brew
parent142c03dbd223683fd2d99f878b68f0f075cf33fb (diff)
downloadzsh-1e3b441ce7e0b8706867801c1e5e7ca6760ff17e.tar.gz
zsh-1e3b441ce7e0b8706867801c1e5e7ca6760ff17e.tar.bz2
zsh-1e3b441ce7e0b8706867801c1e5e7ca6760ff17e.zip
Rollback of Pull #366
sorin-ionescu had some good points.
Diffstat (limited to 'plugins/brew')
-rw-r--r--plugins/brew/brew.plugin.zsh12
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"
-}