zsh: Make _fzf_compgen_{path,dir} respect FZF_COMPLETION_{PATH,DIR}_OPTS

Authored by: @LangLangBart

Fix #4592
This commit is contained in:
Junegunn Choi
2026-02-20 10:29:08 +09:00
parent 385cccd362
commit fefea8d885
2 changed files with 3 additions and 2 deletions

View File

@@ -204,12 +204,12 @@ __fzf_generic_path_completion() {
_fzf_path_completion() {
__fzf_generic_path_completion "$1" "$2" _fzf_compgen_path \
"-m" "" " "
"${FZF_COMPLETION_PATH_OPTS-} -m" "" " "
}
_fzf_dir_completion() {
__fzf_generic_path_completion "$1" "$2" _fzf_compgen_dir \
"" "/" ""
"${FZF_COMPLETION_DIR_OPTS-}" "/" ""
}
_fzf_feed_fifo() {