brew.plugin.zsh 730 B

12345678910111213141516171819202122
  1. alias brewp='brew pin'
  2. alias brews='brew list -1'
  3. alias brewsp='brew list --pinned'
  4. alias bubo='brew update && brew outdated'
  5. alias bubc='brew upgrade && brew cleanup'
  6. alias bubu='bubo && bubc'
  7. if command mkdir "$ZSH_CACHE_DIR/.brew-completion-message" 2>/dev/null; then
  8. print -P '%F{yellow}'Oh My Zsh brew plugin:
  9. cat <<-'EOF'
  10. With the advent of their 1.0 release, Homebrew has decided to bundle
  11. the zsh completion as part of the brew installation, so we no longer
  12. ship it with the brew plugin; now it only has brew aliases.
  13. If you find that brew completion no longer works, make sure you have
  14. your Homebrew installation fully up to date.
  15. You will only see this message once.
  16. EOF
  17. print -P '%f'
  18. fi