Fix the usage of outdated brew cask list

This commit is contained in:
Akylzhan Sauranbay 2020-09-08 20:10:21 +06:00
parent 2ec8266697
commit d7097b5598

View File

@ -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' \