PSFzf icon indicating copy to clipboard operation
PSFzf copied to clipboard

FuzzyGitStatus causes git bash to open

Open gmkado opened this issue 2 years ago • 1 comments

I may have something configured incorrectly so please let me know what other info I should provide.

When I cd into my git repo and use Invoke-FuzzyGitStatus, I can see an fzf list of modified files, but navigating the cursor up and down shows nothing in the preview pane. Instead, an instance of git bash keeps opening and closing immediately. It looks like it briefly displays a preview in the bash instance before closing.

Am I missing a setting or third party application? Thanks!

gmkado avatar Aug 02 '22 21:08 gmkado

I think I've tracked it down to this line, which opens git bash to run the shell script

gmkado avatar Aug 02 '22 21:08 gmkado

@gmkado , please try the 2.5.2 prerelease and let me know if it fixes your issue

https://www.powershellgallery.com/packages/PSFzf/2.5.2-alpha

kelleyma49 avatar Aug 08 '22 01:08 kelleyma49

Thanks @kelleyma49 for the response! I tried v2.5.2 and it still opens bash briefly in a separate window, and the preview pane is blank.

gmkado avatar Aug 08 '22 18:08 gmkado

What shell are you taking to launch psfzf?

kelleyma49 avatar Aug 08 '22 19:08 kelleyma49

Nevermind I just had to relaunch my powershell, now it works!

gmkado avatar Aug 08 '22 21:08 gmkado