Skip to content
Snippets Groups Projects
Commit d7097b55 authored by Akylzhan Sauranbay's avatar Akylzhan Sauranbay
Browse files

Fix the usage of outdated brew cask list

parent 2ec82666
No related branches found
No related tags found
No related merge requests found
......@@ -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' \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment