From 246330053e6ef509e415707154e2537b41d3c5d7 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 24 Mar 2024 22:59:07 +0900 Subject: fzf: set default command to feed input to fzf --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zshrc b/.zshrc index 668ae7c..5a7c25f 100644 --- a/.zshrc +++ b/.zshrc @@ -379,6 +379,9 @@ else fi if type fzf >/dev/null 2>&1; then + if type fd >/dev/null 2>&1; then + export FZF_DEFAULT_COMMAND='fd --type f --strip-cwd-prefix --hidden --exclude .git' + fi if type nvim >/dev/null 2>&1; then function ee() { if [[ -z "$1" ]]; then -- cgit v1.2.3-70-g09d2