kelleyma49 / PSFzf

A PowerShell wrapper around the fuzzy finder fzf
MIT License
795 stars 36 forks source link

Is there any way to change the layout? #48

Closed ssxwcz closed 3 years ago

ssxwcz commented 4 years ago

I tried setting $env:FZF_DEFAULT_OPTS="--height 40% --layout=reverse", but it seems to be invalid for PSFzf 2020-05-10

musm commented 3 years ago

Same Q

kelleyma49 commented 3 years ago

Should be resolved now - try this version: https://www.powershellgallery.com/packages/PSFzf/2.0.2-alpha

ssxwcz commented 3 years ago

Should be resolved now - try this version: https://www.powershellgallery.com/packages/PSFzf/2.0.2-alpha

Thanks, PSFzf can read FZF_DEFAULT_OPTS already. Also, can I ask if FZF_CTRL_T_OPTS is available under Windows? I didn't find any useful information in fzf, which seems to be invalid after my testing

kelleyma49 commented 3 years ago

Should be resolved now - try this version: https://www.powershellgallery.com/packages/PSFzf/2.0.2-alpha

Thanks, PSFzf can read FZF_DEFAULT_OPTS already. Also, can I ask if FZF_CTRL_T_OPTS is available under Windows? I didn't find any useful information in fzf, which seems to be invalid after my testing

You're correct - this was broken as well. I've fixed it and the other FZF_*_OPTS variables. You can try it in this new prerelease version here: https://www.powershellgallery.com/packages/PSFzf/2.0.3-alpha

ssxwcz commented 3 years ago

Should be resolved now - try this version: https://www.powershellgallery.com/packages/PSFzf/2.0.2-alpha

Thanks, PSFzf can read FZF_DEFAULT_OPTS already. Also, can I ask if FZF_CTRL_T_OPTS is available under Windows? I didn't find any useful information in fzf, which seems to be invalid after my testing

You're correct - this was broken as well. I've fixed it and the other FZF_*_OPTS variables. You can try it in this new prerelease version here: https://www.powershellgallery.com/packages/PSFzf/2.0.3-alpha

Thank you very much. Everything's fine now.