Skip to content

Commit

Permalink
Merge pull request #5851 from okdana/dana/complete-instal
Browse files Browse the repository at this point in the history
completions/zsh: Hide *instal from all commands
  • Loading branch information
jonchang authored Mar 8, 2019
2 parents d9f421d + 58b52ca commit db3a42e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions completions/zsh/_brew
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ __brew_all_commands() {
local comp_cachename=brew_all_commands
if _cache_invalid $comp_cachename || ! _retrieve_cache $comp_cachename; then
commands=($(_call_program brew brew commands --quiet --include-aliases))
commands=(${commands:#*instal}) # Exclude instal, uninstal, etc.
_store_cache $comp_cachename commands
fi
_describe -t all-commands 'all commands' commands
Expand Down

0 comments on commit db3a42e

Please sign in to comment.