Is there a way for me to assign both menu-complete and dynamic-complete-history to Tab (or one to Tab and the other to Tab–Tab) in .inputrc
?
I'm thinking there might be a way to setup a function and use COMPREPLY, but I can't figure out how.
What I would like to do is use 'dynamic-complete-history' for the first tab press, and if tab is pressed again use 'menu-complete'.
Best Answer
No.
Sounds like motivation for putting together a feature patch and a bash pull-request.