Re: Allow `read` to recognize custom completions

2023-09-05 Thread Chet Ramey
On 9/2/23 11:33 AM, konsolebox wrote: On Mon, Jun 21, 2021 at 11:34 PM Chet Ramey wrote: I'll consider it. It's low priority right now. Hello Chet, I just saw this implemented in 5.3. Just want to say thanks a lot!! I extremely appreciate it. Credit where credit's due: - read_bui

Re: Allow `read` to recognize custom completions

2023-09-02 Thread konsolebox
On Mon, Jun 21, 2021 at 11:34 PM Chet Ramey wrote: > I'll consider it. It's low priority right now. Hello Chet, I just saw this implemented in 5.3. Just want to say thanks a lot!! I extremely appreciate it. -- konsolebox

Re: Allow `read` to recognize custom completions

2021-12-27 Thread konsolebox
On Mon, Jun 21, 2021, 23:34 Chet Ramey, wrote: > On 6/16/21 2:04 AM, konsolebox wrote: > > > Thanks, that worked well. Is there a chance a feature that would > > allow this be defaulty implemented in the next version? If yes, what > > would be the strategy? > > > > Someone in IR

Re: Allow `read` to recognize custom completions

2021-06-21 Thread Chet Ramey
On 6/16/21 2:04 AM, konsolebox wrote: Thanks, that worked well.  Is there a chance a feature that would allow this be defaulty implemented in the next version?  If yes, what would be the strategy? Someone in IRC asked about this too just recently. Any thoughts in this? I'll

Re: Allow `read` to recognize custom completions

2021-06-15 Thread konsolebox
On Wed, Jun 2, 2021, 10:27 konsolebox, wrote: > On Tue, May 25, 2021 at 4:36 AM Chet Ramey wrote: > > > > On 5/22/21 8:29 AM, konsolebox wrote: > > > `read -e` doesn't recognize custom completions (at least on my basic > > > observations). For example, if I enable `complete -IW 'someword > > >

Re: Allow `read` to recognize custom completions

2021-06-01 Thread konsolebox
On Tue, May 25, 2021 at 4:36 AM Chet Ramey wrote: > > On 5/22/21 8:29 AM, konsolebox wrote: > > `read -e` doesn't recognize custom completions (at least on my basic > > observations). For example, if I enable `complete -IW 'someword > > another-word'`, pressing tab on an empty input would do noth

Allow `read` to recognize custom completions

2021-05-22 Thread konsolebox
`read -e` doesn't recognize custom completions (at least on my basic observations). For example, if I enable `complete -IW 'someword another-word'`, pressing tab on an empty input would do nothing. I use `read -e` to query for subcommands. It would be nice if I could make it autocomplete the com