Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix zsh completion. #4516

Merged
merged 1 commit into from
Jul 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion completions/zsh/_brew
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ __brew_common_commands() {
'postinstall:perform post_install for a given formula'
'prune:remove dead links'
'remove:remove a formula'
'search:search for a formula (/regex/ or string)'
'search:search for a formula or cask (/regex/ or string)'
'switch:switch between different versions of a formula'
'tap:tap a new formula repository from GitHub, or list existing taps'
'tap-info:information about a tap'
Expand Down
3 changes: 1 addition & 2 deletions completions/zsh/_brew_cask
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ __brew_cask() {
__brew_all_casks() {
local -a list
local expl
list=( $(__brew_cask search) )
list=( $(brew search --casks) )
_wanted list expl 'all casks' compadd -a list
}

Expand All @@ -46,7 +46,6 @@ __brew_cask_commands() {
'list:with no args, lists installed Casks; given installed Casks, lists staged files'
'outdated:list the outdated installed Casks'
'reinstall:reinstalls the given Cask'
'search:searches all known Casks'
'style:checks Cask style using RuboCop'
'uninstall:uninstalls the given Cask'
'upgrade:upgrade installed Casks with newer versions'
Expand Down