On Sat, 5 Nov 2016 15:40:54 -0400
Michael B Allen <iop...@gmail.com> wrote:

> I have two files:
> 
> SUM-12_schematic.pdf
> VMware-Workstation-Full-10.0.1-1379776.x86_64.txt
> 
> Doing:
> 
> # ls SUM<tab>
> 
> works as expected and completes the filename but doing:
> 
> # sh -f VMw<tab>
> 
> does not work. The filename is not completed.
> 
> Clearly someone is trying to "help" me and not complete a file that sh
> is not normally known to be used with sh.
> 
> Can someone tell me how to disable this "helpful" behavior?

I think Andras answered your question, but here's a workaround.
Install gpm, the terminal mouse program.  Then if you do an ls, and
double click on the file name, it will put the name in a buffer.  Then
type your command, and where you would put the file name paste the
buffer with the center button.  I use this as much as completion, but
even more I use ctrl-r to search and reuse history the second time I
use the command.

eg

ls VM*
double click on name
sh -f center paste name
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to