github PatrickF1/fzf.fish v5.5

latest releases: v10.3, v10.2, v10.1...
3 years ago

Configure the preview directory command (#120)

To acquiesce to the popularity and diversity of ls alternatives (e.g. https://github.com/ogham/exa, https://github.com/Peltoche/lsd, https://github.com/athityakumar/colorls, tree, all of which have many different options to configure them), I have finally decided to make the command used to preview directories configurable. Users can place their desired command in fzf_preview_dir_cmd and fzf.fish will use it.

Bug fix for the search file feature (#119 - @ovv )

If the file path already starts with . or /, which can happen if such a path was used as the base directory, then don't prepend ./.
Without such logic, the path becomes invalid. For example:

  • if the current token is /etc/ and you select systemd, you end up with './/etc/systemd'
  • if the current token is ~/ and you select Desktop, you end up with './~/desktop'

Don't miss a new fzf.fish release

NewReleases is sending notifications on new releases.