Fixes bash tab-completion

This commit is contained in:
Bruno Tavares 2015-09-26 01:00:17 -03:00
parent d157180b92
commit 39e15e70a4

View File

@ -2,7 +2,7 @@
_kickstart_autocomplete() {
local cur=${COM_WORDS[COM_CWORD]}
local cur=${COMP_WORDS[COMP_CWORD]}
if [ "$COMP_CWORD" -eq 1 ]; then
COMPREPLY=( $(compgen -W "$(kickstart commands)" -- "$cur") )