bug-bash
[Top][All Lists]
Advanced

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

Re: bug in auto completition, dunno if by completition package


From: Chet Ramey
Subject: Re: bug in auto completition, dunno if by completition package
Date: Wed, 17 Mar 2021 11:39:42 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 3/17/21 6:43 AM, Alex fxmbsw7 Ratchev wrote:
i code on a bash feature linker 'ogt2' that binds functions, aliases, etc,
by filenames and their content ( and location ( prepath \\ subpath ) )
now i have /root/ogt2/traps/ and being in /root/ogt2
i type traps<tab> i expected traps/ it autocompleted none more it shows
'traps' as only option to complete but it doesnt move on or add the slash
i type trap<tab> i autocompletes to 'trap ' instead of also show traps/

It completes because `trap' is a command name, and it appends the space
because that's the default on a successful completion.

Command completion attempts its fallback directory completion only if there
are no command names that match.


--
``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/



reply via email to

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