Skip to content
Snippets Groups Projects
Unverified Commit b7592709 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #7612 from MenkeTechnologies/master

add compsys cache for brew casks
parents 4c79270c 159a5bb2
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,13 @@ __brew_cask() {
__brew_all_casks() {
local -a list
local expl
list=( $(brew search --casks) )
local comp_cachename=brew_casks
if _cache_invalid $comp_cachename || ! _retrieve_cache $comp_cachename; then
list=( $(brew search --casks) )
_store_cache $comp_cachename list
fi
_wanted list expl 'all casks' compadd -a list
}
......
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