bug-bash
[Top][All Lists]
Advanced

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

Re: $ x=y abc<TAB> should give command name expansions


From: Chet Ramey
Subject: Re: $ x=y abc<TAB> should give command name expansions
Date: Tue, 28 Dec 2004 09:09:02 -0500
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

Dan Jacobson wrote:
Did I mention
$ x=y abc<TAB>
or
$ x= g=4 m= abc<TAB>
gives filename expansions when it should give command name expansions.
3.00.16(1)

The bash completion code is unsophisticated in that respect.  It simply
looks for the beginning of the command line or unquoted metacharacters
to decide whether or not a word is in a command position.  You can
always force command completion in this case using `M-!' in emacs mode.

Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU address@hidden http://tiswww.tis.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]