Skip to content
This repository was archived by the owner on Feb 14, 2021. It is now read-only.

Configurable find command#39

Open
crater2150 wants to merge 2 commits into
ytet5uy4:masterfrom
crater2150-zsh:configurable_find_command
Open

Configurable find command#39
crater2150 wants to merge 2 commits into
ytet5uy4:masterfrom
crater2150-zsh:configurable_find_command

Conversation

@crater2150

Copy link
Copy Markdown

Why

The dir and files widgets use find for searching, but it may be preferrable to use a different tool, e.g. fd, which is faster and can skip ignored or hidden files.

What

  • Adds options to configure the commands used for listing files, firectories or history entries.
  • Examples for alternative commands added to README
  • In fzf-insert-history, the regex now only matches at start of line, and also matches if the number is followed directly by a *.
  • Otherwise behaviour stays the same, if the new variables are not set.

Allows using alternative utilities like fd instead of find. Also allows
changing which history entries to view and fixes regex used to remove
history numbers.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant