On Fri, Jun 12, 2015 at 4:47 AM, isabella parakiss <izaber...@gmail.com> wrote:

> In line 1588 you use ruptime 2>/dev/null.  I have no ruptime but I do use a
> command_not_found_handle. Please apply the attached patch.

Using an optional command before checking if it exists is a very
commonly used pattern in bash-completion, and I don't think we want to
address their occurrences one at a time. TBH, I'm pretty sure if we'd
rather not address that stuff at all. I don't use
command_not_found_handle stuff myself so this is just untested
guesswork, but maybe you could modify your function to check if a
completion function is being run and exiting early if it is, maybe by
checking if $COMP_LINE is empty or not?

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel

Reply via email to