help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] programmable completions via compgen -F


From: Муравьев Александр
Subject: Re: [Help-bash] programmable completions via compgen -F
Date: Fri, 11 Oct 2019 10:00:52 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

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

compgen -F _ping ping
would output possible completion results as I can got it manually with

 _completion_loader ping; COMP_WORDS=(ping); COMP_CWORD=1; _known_hosts; declare -p COMPREPLY




reply via email to

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