kelleyma49 / PSFzf

A PowerShell wrapper around the fuzzy finder fzf
MIT License
787 stars 34 forks source link

Default Alt+C command lists files in addition to directories #114

Closed pitkali closed 2 years ago

pitkali commented 2 years ago

Alt+C is meant to change location and should only present directories. However, the default is to use FZF_DEFAULT_COMMAND and equivalents which explicitly only list files and no directories at all.

This is exactly why other shell integrations explicitly do not use FZF_DEFAULT_COMMAND at all.

There's a similar inconsistency with Ctrl+T and other shells -- PSFzf will uze FZF_DEFAULT_COMMAND there as well, allowing to choose only files, while other shell integrations enable selecting either files or directories.

Optionally, the linux variants of command should follow symbolic links, like in other shells.