bug-bash
[Top][All Lists]
Advanced

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

Re: bash5: "progcomp_alias" and "complete -D"


From: Chet Ramey
Subject: Re: bash5: "progcomp_alias" and "complete -D"
Date: Thu, 10 Jan 2019 11:02:17 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 1/9/19 10:51 PM, Clark Wang wrote:
> Seems like if there's "complete -D" defined then "progcomp_alias" would
> never work. So does it make more sense to make "progcomp_alias" has higher
> priority than "complete -D"?

Maybe. The other side is that `progcomp_alias' only comes into play if you
can't find a valid completion for a particular command, and `complete -D'
ensures that you always will.

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



reply via email to

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