another: trying to prefix a grep with a find

grep -r "stuff.*stuff"

then add at the beginning "find comp" and hitting tab

find com<tab>grep -r "stuff.*stuff"

this kills the current line (and it doesn't even go to history, so
potentially you could lose a significant amount of work if you'd been
building up a big line)

here's what you see after tab:
>find combash: no match: "stuff.*stuff"
>

this should complete correctly (i understand it's a corner), but at
worst it should do nothing (and never kill without history the entire
line).

here's my shopt -p:

shopt -u cdable_vars
shopt -u cdspell
shopt -u checkhash
shopt -s checkwinsize
shopt -s cmdhist
shopt -u compat31
shopt -u dotglob
shopt -u execfail
shopt -s expand_aliases
shopt -u extdebug
shopt -s extglob
shopt -s extquote
shopt -s failglob
shopt -s force_fignore
shopt -u gnu_errfmt
shopt -u histappend
shopt -u histreedit
shopt -u histverify
shopt -u hostcomplete
shopt -u huponexit
shopt -s interactive_comments
shopt -u lithist
shopt -u login_shell
shopt -u mailwarn
shopt -u no_empty_cmd_completion
shopt -u nocaseglob
shopt -u nocasematch
shopt -s nullglob
shopt -s progcomp
shopt -s promptvars
shopt -u restricted_shell
shopt -u shift_verbose
shopt -u sourcepath
shopt -u xpg_echo

-- 
error message when no completions and failglob is on
https://bugs.launchpad.net/bugs/194419
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to