From ed6303c34048fbe0b40de23a648e397e50efeb62 Mon Sep 17 00:00:00 2001 From: lambdanerd Date: Thu, 17 Oct 2019 01:55:40 -0500 Subject: [PATCH] homebrew: add alias `brewL` --- modules/homebrew/README.md | 1 + modules/homebrew/init.zsh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/homebrew/README.md b/modules/homebrew/README.md index 3e27013..1d29871 100644 --- a/modules/homebrew/README.md +++ b/modules/homebrew/README.md @@ -19,6 +19,7 @@ Aliases - `brewc` cleans outdated brews and their cached archives. - `brewi` installs a formula. + - `brewL` lists installed formulae that are not dependencies of another installed formula. - `brewl` lists installed formulae. - `brewo` lists brews which have an update available. - `brews` searches for a formula. diff --git a/modules/homebrew/init.zsh b/modules/homebrew/init.zsh index 283bb12..9f7e0b4 100644 --- a/modules/homebrew/init.zsh +++ b/modules/homebrew/init.zsh @@ -14,7 +14,7 @@ fi # 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 # variables as they are already handled in standard zsh configuration. if (( $+commands[brew] )); then @@ -28,6 +28,7 @@ fi # Homebrew alias brewc='brew cleanup' alias brewi='brew install' +alias brewL='brew leaves' alias brewl='brew list' alias brewo='brew outdated' alias brews='brew search'