From 0484d5fb32ae7e908f1957262268dc03d1e751c6 Mon Sep 17 00:00:00 2001 From: hl Date: Mon, 25 Nov 2024 00:40:12 +0800 Subject: [PATCH] update --- assets/.zshrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/.zshrc b/assets/.zshrc index e94db0f..2e5c653 100644 --- a/assets/.zshrc +++ b/assets/.zshrc @@ -57,19 +57,19 @@ compdef pyssh=ssh export FZF_COMPLETION_TRIGGER="''" export FZF_COMPLETION_DIR_COMMANDS='cd pushd rmdir ls ll' -export FZF_DEFAULT_COMMAND="fd --strip-cwd-prefix --hidden" +export FZF_DEFAULT_COMMAND="fdfind --strip-cwd-prefix --hidden" export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" -export FZF_ALT_C_COMMAND="fd --type d --strip-cwd-prefix --hidden" +export FZF_ALT_C_COMMAND="fdfind --type d --strip-cwd-prefix --hidden" # Override default _fzf_compgen_path() { - fd --hidden . "$1" + fdfind --hidden . "$1" } _fzf_compgen_dir() { - fd --type d --hidden . "$1" + fdfind --type d --hidden . "$1" } # Self-defined __fzf_compgen_file(){ - fd --type f --hidden . "$1" + fdfind --type f --hidden . "$1" } # For **