-
Notifications
You must be signed in to change notification settings - Fork 38
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
Tab autocomplete deletes argument if not finished with the Loading...
state.
#283
Comments
@SpBills , can you give me more information? I can't see to recreate the issue. See my screen recording below. Before you run the tab completion, execute |
@kelleyma49 Okay, so I have been working with it a little more. Turns out my solution of waiting a little does NOT fix the problem. It was confirmation bias. Weirdly enough, sometimes whenever I hit enter it just erases the entire argument I am autocompleting. Would you mind sharing the relevant part of your config for tab completion? Thanks! |
Here's the lines from my config file: Import-Module PSFzf
Set-PsFzfOption `
-TabExpansion `
-PSReadlineChordProvider 'Ctrl+t' `
-PSReadlineChordReverseHistory 'Ctrl+r' `
-PSReadlineChordReverseHistoryArgs 'Alt+a' `
-EnableAliasFuzzyEdit `
-EnableAliasFuzzyFasd `
-EnableAliasFuzzyHistory `
-EnableAliasFuzzyKillProcess `
-EnableAliasFuzzySetLocation `
-EnableAliasFuzzyZLocation `
-EnableAliasFuzzyGitStatus `
-EnableAliasFuzzySetEverything `
-GitKeyBindings #`
#-EnableFd
Set-PSReadLineKeyHandler -Key Tab -ScriptBlock { Invoke-FzfTabCompletion } |
An update here. I went ahead and updated and am getting a new error. It's definitely failing a whole lot less tho.
|
If I hit enter in the following state, it deletes the entire argument. I.E. if I was autocompleting
cd abc/123/
it would replace the entire line with justcd
.However, once I wait for the following state I can successfully hit enter.
The text was updated successfully, but these errors were encountered: