Browse Source

homebrew: add alias `brewL`

master
lambdanerd 5 years ago committed by Kaleb Elwert
parent
commit
9cf5ceeebf
  1. 1
      modules/homebrew/README.md
  2. 3
      modules/homebrew/init.zsh

1
modules/homebrew/README.md

@ -19,6 +19,7 @@ Aliases
- `brewc` cleans outdated brews and their cached archives. - `brewc` cleans outdated brews and their cached archives.
- `brewi` installs a formula. - `brewi` installs a formula.
- `brewL` lists installed formulae that are not dependencies of another installed formula.
- `brewl` lists installed formulae. - `brewl` lists installed formulae.
- `brewo` lists brews which have an update available. - `brewo` lists brews which have an update available.
- `brews` searches for a formula. - `brews` searches for a formula.

3
modules/homebrew/init.zsh

@ -14,7 +14,7 @@ fi
# Variables # Variables
# #
# Load standard Homebrew shellenv into the shell session. # Load standard Homebrew shellenv into the shell session.
# Load 'HOMEBREW_' prefixed variables only. Avoid loading 'PATH' related # Load 'HOMEBREW_' prefixed variables only. Avoid loading 'PATH' related
# variables as they are already handled in standard zsh configuration. # variables as they are already handled in standard zsh configuration.
if (( $+commands[brew] )); then if (( $+commands[brew] )); then
@ -28,6 +28,7 @@ fi
# Homebrew # Homebrew
alias brewc='brew cleanup' alias brewc='brew cleanup'
alias brewi='brew install' alias brewi='brew install'
alias brewL='brew leaves'
alias brewl='brew list' alias brewl='brew list'
alias brewo='brew outdated' alias brewo='brew outdated'
alias brews='brew search' alias brews='brew search'

Loading…
Cancel
Save