done
case "$cmd" in
- "edit"|"home"|"log"|"prune")
+ "cleanup"|"edit"|"home"|"log"|"prune")
_brew_formula "$cur"
return 0
;;
COMPREPLY=( $(compgen -W '--cache --help --prefix --version \
-v -H' -- "$cur") )
elif [ "$cmd" = "" ]; then
- COMPREPLY=( $(compgen -W 'create edit home info install \
- link list log prune remove search uninstall unlink \
- update' -- "$cur") )
+ COMPREPLY=( $(compgen -W 'cleanup create edit home info \
+ install link list log prune remove search uninstall \
+ unlink update' -- "$cur") )
fi
}
complete -F _brew brew