You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using zsh you can invoke the history widget and it will use what you already have as input to match commands from history. While PSFzf doesn't care about what you already have written before invoking it ctrl+r.
A second point is that it doesn't replace the entire line but rather insert it at the cursor position. I suspect because you had always planned for this to be used on an empty line.
See an example here:
I tried to take a look at the code but sadly my experience with PowerShell scripting is very limited. I suspect you can probably re-use some of the logic in PSFzf.TabExpansion.ps1 specifically the part where you use GetBufferState().
P.S. thanks for the amazing work!
The text was updated successfully, but these errors were encountered:
When using
zsh
you can invoke the history widget and it will use what you already have as input to match commands from history. WhilePSFzf
doesn't care about what you already have written before invoking itctrl+r
.A second point is that it doesn't replace the entire line but rather insert it at the cursor position. I suspect because you had always planned for this to be used on an empty line.
See an example here:
I tried to take a look at the code but sadly my experience with PowerShell scripting is very limited. I suspect you can probably re-use some of the logic in
PSFzf.TabExpansion.ps1
specifically the part where you useGetBufferState()
.P.S. thanks for the amazing work!
The text was updated successfully, but these errors were encountered: