[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Command completion a la tcsh
From: |
Chet Ramey |
Subject: |
Re: Command completion a la tcsh |
Date: |
Wed, 11 Apr 2001 07:59:36 -0400 |
> I've just switched from tcsh to bash. Under tcsh I used autolist to
> enable tab completion. The default behaviour was to list all possible
> command completions after ONE tab. Under a default setup of bash,
> the behaviour seems to be to list all possible command completions
> after TWO tabs. This is somewhat irksome, and I was wondering whether
> there was a way of fixing bash to list command completions after one
> tab.
>
> I've read the bash (2.04) manual and searched on the web and through
> newsgroup postings for an answer to this question, but to no avail.
Put
set show-all-if-ambiguous on
into ~/.inputrc or run
bind 'set show-all-if-ambiguous on'
from a shell prompt.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)
Chet Ramey, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/