buchhaltung-0.0.1: buchhaltung_autocomplete.bash
_buchhaltung()
{
local cmdline
local IFS=$'
'
CMDLINE=(--bash-completion-index $COMP_CWORD)
for arg in ${COMP_WORDS[@]}; do
CMDLINE=(${CMDLINE[@]} --bash-completion-word $arg)
done
COMPREPLY=( $(/usr/bin/buchhaltung "${CMDLINE[@]}") )
}
complete -o filenames -F _buchhaltung buchhaltung