help-bash
[Top][All Lists]
Advanced

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

run a complete -F function inside HERE document?


From: Britton Kerin
Subject: run a complete -F function inside HERE document?
Date: Sun, 16 Apr 2023 10:45:36 -0800

I'd like to be able to generate completion candidates inside a HERE
document.  Unfortunately this doesn't work:

$ complete -r cat
$ complete -F myfunc cat
$ cat <<END_CAT_INPUT
foo[TAB here should fire myfunc but doesn't]
END_CAT_INPUT

Is there any way to get completion to fire in this context?

Britton



reply via email to

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