mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
brew plugin fix
This commit is contained in:
parent
4b850135a6
commit
ca92b66063
1 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,10 @@
|
|||
#python path ==> brew easy_install and pip are used
|
||||
export PATH='/usr/local/share/python':$PATH
|
||||
export HOMEBREW_EDITOR=vim
|
||||
|
||||
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
|
||||
function brew-link-completion {
|
||||
ln -s "$(brew --prefix)/Library/Contributions/brew_zsh_completion.zsh" "$ZSH/plugins/brew/_brew.official"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue