help-bash
[Top][All Lists]
Advanced

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

Re: How do I enable globstar behavior with completion?


From: Chet Ramey
Subject: Re: How do I enable globstar behavior with completion?
Date: Mon, 18 Apr 2022 12:08:15 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

On 4/13/22 6:37 PM, Steve wrote:
Hi,

In an effort to create a custom bash completion script, I discovered the `-G` option for compgen/complete.

Unfortunately, it seems like this option does not take into consideration the globstar shopt.

Right now, the completion support for globbing doesn't enable that flag
when calling the matching code. Let me take a look at it.

Chet

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