How to configure for bash-style partial completion? #4954
Unanswered
MartinSGill
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to figure out how/if it's possible to configure PSReadline for the way default bash seems to handle completions.
Current behaviour is that when I press to complete it inserts the first item found at the prompt (e.g. the first file in the directory). I've tried setting tab to MenuComplete, but all that does is present options, it doesn't fill the prompt with as much as it can.
What I want is for it to insert as much common text as it can and then presenting options.
e.g. if I have
> Pr
<tab> -->> Project|
> ProjectA
<tab> -->> ProjectA.Some|
What combination of settings do I need for this behaviour?
Beta Was this translation helpful? Give feedback.
All reactions