Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Menu" completion on tab #18

Closed
jetersen opened this issue Sep 29, 2018 · 2 comments
Closed

"Menu" completion on tab #18

jetersen opened this issue Sep 29, 2018 · 2 comments

Comments

@jetersen
Copy link
Contributor

Feature/Option to allow PSReadLine like "Menu" completion on tab.

.\c<ctrl+space>
image

@nickcox
Copy link
Owner

nickcox commented Oct 1, 2018

Thanks for this. cd-extras should already offer menu completions for its own commands and for cd, pushd and ls by default.

You'd need to set the PSReadline option Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete to bind this to tab instead of the default Ctrl+Space.

If that's not working then it might be worth checking the value of $cde.MenuCompletion on your system.

@jetersen
Copy link
Contributor Author

jetersen commented Oct 1, 2018

Cheers for the Set-PSReadLineKeyHandler that did the trick

@jetersen jetersen closed this as completed Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants