Re: Command-line completion

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

From: Abigail
Subject: Re: Command-line completion
Date: 20:01 on 01 Feb 2005
--1LKvkjL3sHcu1TtY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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


I'm confused. What do you consider "the right thing"? For me, bash
*does* do the right thing - if there are alternatives, one tab expands
till there's an alternative, hitting tab a second time lists the
alternatives.  Unless there are a lot of alternatives, then it will
tell me how many alternatives there are, and ask me whether I want to
see all the alternatives.



Abigail

--1LKvkjL3sHcu1TtY
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFB/+AoBOh7Ggo6rasRAjzAAJ9MbbXQmwv+QD6m2XSk7HxBpuwm/wCfTc7p
gx5HHrhvSTqva5FIDEasbz8=
=n5k3
-----END PGP SIGNATURE-----

--1LKvkjL3sHcu1TtY--

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