bug-bash
[Top][All Lists]
Advanced

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

Re: command completion


From: Chet Ramey
Subject: Re: command completion
Date: Thu, 22 Dec 2005 09:03:31 -0500
User-agent: Thunderbird 1.5 (Macintosh/20051201)

Thomas Mellman wrote:
> Before there was programmable completion, there was simply filename
> completion.  Now we have smart completion, which you can turn off with
> "complete -r".  But that doesn't revert to simple filename completion.
> It still insists on doing "command completion".  That means that if it
> thinks that a command belongs in a particular position, then it insists
> on the file being executable or it won't use it for completion.

Before there was programmable completion, there was never simply
filename completion.  Bash has always added its own completion functions
to Readline, one of which is command word completion.  There's no way
to turn it off other than editing the source.

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




reply via email to

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