FZF is an interactive Unix filter for command-line that can be used with any list; files, command history, processes, hostnames, bookmarks, git commits, etc.
Display directories as trees (with optional color/HTML output)
brew install tree
Simple, fast and user-friendly alternative to find.
brew install fd
ripgrep is a line-oriented search tool that recursively searches the current directory for a regex pattern.
brew install ripgrep
User-friendly command-line shell for UNIX-like operating systems.
brew install fish
fzf is a general-purpose command-line fuzzy finder.
brew install fzf
Let’s create a function that will preview file or directory using mentioned tools
Now change the default option
set -U FZF_DEFAULT_OPTS " \
Let’s make our search faster using fd and ripgrep
set -U FZF_ALT_C_COMMAND "fd -t d . \$dir"