Does anyone have a working example of the new completion of empty command. I tried simplistic experiment and it didn't work.
declare -a _commands=($( ls $HOME/bin))
_empty()
{
COMPREPLY=($( compgen -W "${_commands[*]}" ))
}
complete -E _empty
_______________________________________________
Bash-completion-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel
