[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] programmable completions via compgen -F
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] programmable completions via compgen -F |
Date: |
Fri, 11 Oct 2019 09:08:57 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 10/11/19 3:00 AM, Муравьев Александр wrote:
>> So the idea is that you want to use `compgen -F' outside the programmable
>> completion framework?
>
> Chet, sorry but I am really not sure what do you mean "programmable
> completion framework". I just want to get possible completion results for
> programmable completion with "compgen -F" from BASH. E.g. I would like if
> command
If you're calling it from within a completion function registered with the
programmable completion system using `complete', why are you trying to use
compgen? Why not just call the function directly?
--
``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/