pull/368/merge
Daniel Rufus Kaldheim 2014-11-20 09:57:53 +00:00
commit 2c6e2a7f59
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
#!/usr/bin/env bash
# Bash completion support for Bower.
export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/}
_bower_cmds=" \
cache \
help \
home \
info \
init \
install \
link \
list \
lookup \
prune \
register \
search \
update \
uninstall"
_bowercomplete() {
COMPREPLY=($(compgen -W "${_bower_cmds}" -- ${COMP_WORDS[COMP_CWORD]}))
return 0
}
complete -F _bowercomplete bower