[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tab Tab program/command line editing



It's not a bug, its a feature.

It's called command completion. The (bash) shell is trying to help you
out by finishing off your typing for you.

If you don't like it, use a different shell. Zsh has command completion
as well, but pressing <tab><tab> does nothing. I think the equivalent
for zsh is ctrl-d. I don't know about any of the other shells.

Matthew

ktb wrote:
> 
> When I tried 'exim <tab><tab>' the output listed 156 files in my home
> directory.  This is different than the output that you got.  Am I
> experiencing a bug?  I'm using Bash for the shell.  The Bash man page is
> large and I may have missed a reference to this <tab><tab> function but
> I didn't see anything listed under "commands" or "list" that pertained
> to <tab><tab>.  I'll keep looking.
> Thanks,
> kent
> 
> Steve Lamb wrote:
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On Mon, 05 Jul 1999 22:14:35 -0500, ktb wrote:
> >
> > >Anyone know the name of this program?
> >
> >     The shell, IIRC.  Kent, have you tried something like this?
> > exim<tab><tab> yields, for example:
> >
> > {morpheus@teleute:~} exim
> > exim           exim_dumpdb    exim_lock      eximconfig
> > exim_dbmbuild  exim_fixdb     exim_tidydb    eximstats
> > - --
> >          Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
> >          ICQ: 5107343          | main connection to the switchboard of souls.
> > - -------------------------------+---------------------------------------------
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: PGPsdk version 1.0 (C) 1997 Pretty Good Privacy, Inc
> >
> > iQA/AwUBN4F1gXpf7K2LbpnFEQIOMgCfVxPGW6eqFSBKsWowSezrmulWduQAmwXB
> > 3xB8F5S6O7AggEyHEmIPvjSJ
> > =fWoQ
> > -----END PGP SIGNATURE-----
> >
> > --
> > Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> --
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: