From 4e2e41a7f90267c4718025376343c19de7142a8c Mon Sep 17 00:00:00 2001 From: Nanda H Krishna Date: Fri, 9 Apr 2021 22:28:44 +0530 Subject: [PATCH] completions/zsh: fix `__brew_casks()` --- Library/Homebrew/completions/zsh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/completions/zsh.erb b/Library/Homebrew/completions/zsh.erb index 87832e2483..7c202f1f62 100644 --- a/Library/Homebrew/completions/zsh.erb +++ b/Library/Homebrew/completions/zsh.erb @@ -84,7 +84,7 @@ __brew_casks() { local comp_cachename=brew_casks if ! _retrieve_cache $comp_cachename; then - list=( $(brew search --cask) ) + list=( $(brew casks) ) _store_cache $comp_cachename list fi