I have discovered that a multi-line echo command which should append to a file will not auto-complete when entering the filename.
# echo "dev-lang/io ~*" >> /etc/po<TAB>pa<TAB>k<TAB>
# echo "dev-lang/io ~*" >> /etc/portage/package.keywords
# echo "dev-lang/io ~*
> dev-lisp/lush ~*" >> /etc/po<TAB>
does not auto-complete.
Steps to Reproduce:
1. Type an echo command with a multi-line string, and attempt to pipe the output to an existing file...
2. Being sure to enter the filename using bash-completion.
Tab completion should have worked as it does with a single-line command.
# emerge -pv bash-completion
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] app-shells/bash-completion-20050121-r10
Hi, what version of app-shells/bash are you using?
(In reply to comment #1)
> Hi, what version of app-shells/bash are you using?
$ esearch bash
Latest version available: 3.1_p17
Latest version installed: 3.1_p17
This is not actually a bash-completion problem at all. I suspect it will never work that way you want it, but maybe it is a readline issue? Just a guess.
@base-system: Is this even possible to fix or valid to report upstream?
wouldn't hurt to post to the bug-bash list and see what they have to say