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
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to