diff options
author | Adam Lindberg <eproxus@gmail.com> | 2011-06-07 15:31:26 +0200 |
---|---|---|
committer | Adam Lindberg <eproxus@gmail.com> | 2011-06-07 15:31:26 +0200 |
commit | 86b8827d27a72471eed0e39f3681b4d533811082 (patch) | |
tree | cdd5b236aa57f0402e147c11fcc1bc8d3b136fe0 /plugins/brew/brew.plugin.zsh | |
parent | 70cb607b7bee04ceef74d6f7aa80589e009e4c78 (diff) | |
parent | ed990f61ff66a5c409ef2d8a444820cecf098188 (diff) | |
download | zsh-86b8827d27a72471eed0e39f3681b4d533811082.tar.gz zsh-86b8827d27a72471eed0e39f3681b4d533811082.tar.bz2 zsh-86b8827d27a72471eed0e39f3681b4d533811082.zip |
Merge remote-tracking branch 'robbyrussell/master'
Diffstat (limited to 'plugins/brew/brew.plugin.zsh')
-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" -} |