Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15345

Re: Idea: *.p<TAB> completion

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Idea: *.p<TAB> completion
Date 2019-09-01 14:44 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.284.1567363453.2075.bug-bash@gnu.org> (permalink)
References <878sr88336.5.fsf@jidanni.org> <29b2b6d6-5744-d76f-9507-7130e2ee5145@blastwave.org> <18134396-ab4f-0a05-0e08-bf344dea97ec@case.edu>

Show all headers | View raw


On 9/1/19 2:29 PM, Dennis Clarke wrote:
> On 9/1/19 11:10 AM, 積丹尼 Dan Jacobson wrote:
>> $ ls *.pdf
>> a.pdf  b.pdf
>> $ diff *.p<TAB>
>>
>> At this point <TAB> should complete "*.pdf".
>>
>> Or maybe as a bonus it could complete "a.pdf  b.pdf" via a different key.
>>
> 
> So long as all these extensions and ideas get turned off by the env var
> POSIXLY_CORRECT then the shell can make coffee for you.  

Why would the shell do that? POSIX doesn't have anything to say about emacs
mode editing or word completion, so why would POSIXLY_CORRECT have any
effect here?


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Idea: *.p<TAB> completion Chet Ramey <chet.ramey@case.edu> - 2019-09-01 14:44 -0400

csiph-web