On Sat, 2016-11-05 at 16:57 -0700, stan wrote:
> On Sat, 5 Nov 2016 15:40:54 -0400
> Michael B Allen <[email protected]> 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

I think the X server does that directly. It works in every text pane,
not just Shell terminals. No need to install gpm.

poc
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to