diff --git a/completions/zsh/_brew_cask b/completions/zsh/_brew_cask index 78bcbfb8f6..5b26a3325a 100644 --- a/completions/zsh/_brew_cask +++ b/completions/zsh/_brew_cask @@ -32,7 +32,7 @@ __brew_all_casks() { __brew_installed_casks() { local -a list local expl - list=( $(__brew_cask list|sed 's/(!)//') ) + list=( $(brew list --cask) ) _wanted list expl 'installed casks' compadd -a list } @@ -136,10 +136,6 @@ _brew_cask_list() { '*::token:__brew_installed_casks' } -_brew_cask_ls() { - _brew_cask_list -} - _brew_cask_outdated() { _arguments : \ '--greedy:also list Casks with auto_updates or version \:latest' \