From 8fd565403ed06efcb83e3c9e08fb7de1083f3da8 Mon Sep 17 00:00:00 2001 From: Akylzhan Sauranbay Date: Thu, 10 Sep 2020 00:33:11 +0600 Subject: [PATCH] Remove unused zsh completions --- completions/zsh/_brew_cask | 8 -------- 1 file changed, 8 deletions(-) diff --git a/completions/zsh/_brew_cask b/completions/zsh/_brew_cask index 5b26a3325a..44f5cc869b 100644 --- a/completions/zsh/_brew_cask +++ b/completions/zsh/_brew_cask @@ -12,10 +12,6 @@ zstyle -T ':completion:*:*:*:brew-cask:*' tag-order && \ zstyle ':completion:*:*:*:brew-cask:*' tag-order 'commands' -__brew_cask() { - [ -d "$(brew --repo homebrew/cask)" ] && brew cask $@ -} - __brew_all_casks() { local -a list local expl @@ -91,10 +87,6 @@ _brew_cask_cat() { __brew_all_casks } -_brew_cask_cat() { - __brew_all_casks -} - _brew_cask_create() { _arguments '*::token:' }