autocomplete - Bash autocompletion for pake WITH local files -


i using bash autocompletion pake

_pake() {     local cur=${comp_words[comp_cword]}     compreply=( $(compgen -w "$(/www/grepo/vendor/bin/pake tasklist)" -- $cur) ) } complete -f _pake pake 

that works fine pake tasks, how add completion file system in addition task list?

got reply question message. solution quite easy, can add fallback behaviour complete

complete -o default -f _pake pake 

given that, auto complete behaviour falls bask shell default if custom completion not deliver results