Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

More brew completion

  • Loading branch information...
commit 4b3b4c08f9767a4751cb3640d337edabca607cbc 1 parent c568cbd
@joshuaclayton joshuaclayton authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  zsh_profile.d/completion.zsh
View
3  zsh_profile.d/completion.zsh
@@ -90,6 +90,7 @@ compdef _gem gem
_brew() {
if (( CURRENT == 2 )); then
+ compadd list
compadd install uninstall
compadd link unlink
compadd missing prune cleanup
@@ -107,6 +108,8 @@ _brew() {
compadd $(brew search ${words[-1]})
elif [[ $words[2] == "uninstall" ]]; then
compadd $(brew list)
+ elif [[ $words[2] == "cleanup" ]]; then
+ compadd $(brew list)
elif [[ $words[2] == "upgrade" ]]; then
compadd $(brew outdated | awk '{print $1}')
fi

0 comments on commit 4b3b4c0

Please sign in to comment.
Something went wrong with that request. Please try again.