From a62114c91f2070c8c8453d117f3d81dc113e41ff Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Mon, 25 Mar 2024 16:43:09 +0530 Subject: dotfile update --- zsh/oh-my-zsh/plugins/brew/brew.plugin.zsh | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 zsh/oh-my-zsh/plugins/brew/brew.plugin.zsh (limited to 'zsh/oh-my-zsh/plugins/brew/brew.plugin.zsh') diff --git a/zsh/oh-my-zsh/plugins/brew/brew.plugin.zsh b/zsh/oh-my-zsh/plugins/brew/brew.plugin.zsh deleted file mode 100644 index 070a083..0000000 --- a/zsh/oh-my-zsh/plugins/brew/brew.plugin.zsh +++ /dev/null @@ -1,21 +0,0 @@ -alias brewp='brew pin' -alias brewsp='brew list --pinned' -alias bubo='brew update && brew outdated' -alias bubc='brew upgrade && brew cleanup' -alias bubu='bubo && bubc' -alias buf='brew upgrade --formula' -alias bcubo='brew update && brew outdated --cask' -alias bcubc='brew upgrade --cask && brew cleanup' - -function brews() { - local formulae="$(brew leaves | xargs brew deps --installed --for-each)" - local casks="$(brew list --cask)" - - local blue="$(tput setaf 4)" - local bold="$(tput bold)" - local off="$(tput sgr0)" - - echo "${blue}==>${off} ${bold}Formulae${off}" - echo "${formulae}" | sed "s/^\(.*\):\(.*\)$/\1${blue}\2${off}/" - echo "\n${blue}==>${off} ${bold}Casks${off}\n${casks}" -} -- cgit v1.2.3-59-g8ed1b