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