kelleyma49 / PSFzf

A PowerShell wrapper around the fuzzy finder fzf
MIT License
752 stars 35 forks source link

PSFzf.Base.ps1: enhance <Ctrl+t> functionality #215

Open Konstantin-Glukhov opened 1 year ago

Konstantin-Glukhov commented 1 year ago

Return a full path for the selected item on <Ctrl+t>. This solves the problem when the function is invoked with path, e.g. invoking it in current directory works fine, but when doing something like this: "ls C:\Path<Ctrl+t>" and selecting an item, will end up with "ls Sub-path". This change addresses the issue.

kelleyma49 commented 1 year ago

Can you share your settings and an example? I can't recreate this issue.

Konstantin-Glukhov commented 1 year ago
$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.4
PSEdition                      Core
GitCommitId                    7.3.4
OS                             Microsoft Windows 10.0.22000
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0