Command-line completion

[prev] [thread] [next] [lurker] [Date index for 2005/02/01]

From: Hakim
Subject: Command-line completion
Date: 17:26 on 01 Feb 2005
In Windows, command line completion has the lovely feature of expanding 
files prepended with a dot before the actual filename.
So if while I'm editing foo.pl, I type

    perl f<TAB>

it gets expanded to

    perl .foo.pl.swp

Obviously, this feature is great for people who like to run Vim swap files.

In case I'm not being even-handed in my hate, I also hate that bash 
doesn't expand a file when there are alternatives.  Sure, I could ls and 
then work out which characters to type to disambiguate, but why can't I 
just repeatedly press <TAB> like a simpleton and have it do the right 
thing?  (I guess this being Unix there will be some simple config change 
to make the hate go away though).

Sincerely, in hate,
osfameron

Generated at 23:00 on 03 Feb 2005 by mariachi 0.52