Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 2.72 KB

README.md

File metadata and controls

45 lines (32 loc) · 2.72 KB

OMZ Homebrew

Description

An alternative plugin for Oh My Zsh offering several aliases for common brew commands. While there is an existing brew plugin, its provided aliases don't match my needs. This plugin does not conflict with the official one, and both can be used side-by-side.

Aliases

Alias Command Description
bl echo "Formulae\n========" && brew list -1 && echo "\nCasks\n=====" && brew list --cask -1 List installed forumulae and casks
bi brew install Install a forumula
bci brew install --cask Install a cask
bup brew update && echo "\nFormulae\n========" && brew outdated && echo "\nCasks\n=====" && brew outdated --cask Fetch the latest version of Homebrew, then list outdated formulae and casks
bug brew upgrade && brew upgrade --cask && brew cleanup Upgrade outdated (and unpinned) forumlae and casks, then removes stale lockfiles, outdated downloads, and versions
buddy brew upgrade --dry-run && brew upgrade --cask --dry-run List the packages that would be updated by bug

Installation

  1. Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)

    git clone https://github.com/digitalraven/omz-homebrew ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/omz-homebrew
  2. Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):

    plugins=(... omz-homebrew)
  3. Re-source your ~/.zshrc

    source ~/.zshrc
  4. There is no step 4.