diff --git a/plugins/brew/brew.plugin.zsh b/plugins/brew/brew.plugin.zsh index 6fb7f3453..1bba67335 100644 --- a/plugins/brew/brew.plugin.zsh +++ b/plugins/brew/brew.plugin.zsh @@ -2,6 +2,7 @@ alias brews='brew list -1' alias bubo='brew update && brew outdated' alias bubc='brew upgrade && brew cleanup' alias bubu='bubo && bubc' +alias brewup='brew update && brew upgrade && brew prune && brew cleanup && brew doctor' if command mkdir "$ZSH_CACHE_DIR/.brew-completion-message" 2>/dev/null; then print -P '%F{yellow}'Oh My Zsh brew plugin: diff --git a/templates/zshrc-mac.zsh b/templates/zshrc-mac.zsh index 55c5d2e5f..961ce0b24 100644 --- a/templates/zshrc-mac.zsh +++ b/templates/zshrc-mac.zsh @@ -36,7 +36,7 @@ plugins=(git2 python repo intel-repo cp buildbot rsync git-extras git-remote-bra command-not-found debian dircycle encode64 lol extract launch_trial \ vim-scp ufw sublime pylint pep8 autopep8 \ common-aliases buildbot_dev zsh-syntax-highlighting \ - txw jump grin pip colored-man osx tig) + txw jump grin pip colored-man osx tig brew) source $ZSH/oh-my-zsh.sh # User configuration @@ -48,9 +48,6 @@ zstyle ':completion:*:descriptions' format '%B%d%b' if [ -z "$LC_ALL" ]; then export LC_ALL=en_US.UTF-8; fi if [ -z "$LANG" ]; then export LANG=en_US.UTF-8; fi -# MacOSX specific aliases -alias bu='brew update && brew upgrade' - source $ZSH/oh-my-zsh.sh # Enviroment variables overwrite