Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Authored by: @LangLangBart Fix #4592

authored by Junegunn Choi · committed by Junegunn Choi · parent 385cccd · Browse files · 2 files+3 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−2 removed

  • other:+3 added−2 removed

2 files+3 added−2 removed

modified:shell/completion.zsh+2 added-2 removed
202 unmodified lines
203}204205_fzf_path_completion() {206 __fzf_generic_path_completion "$1" "$2" _fzf_compgen_path \207 "-m" "" " "207 "${FZF_COMPLETION_PATH_OPTS-} -m" "" " "208}209210_fzf_dir_completion() {211 __fzf_generic_path_completion "$1" "$2" _fzf_compgen_dir \212 "" "/" ""212 "${FZF_COMPLETION_DIR_OPTS-}" "/" ""213}214215_fzf_feed_fifo() {216 command rm -f "$1"
259 unmodified lines
modified:CHANGELOG.md+1 added
44 unmodified lines
45 - Improved handling of bulk deletion of selected history entries46 (`SHIFT-DELETE`)47- Added fish completion support (#4605) (@lalvarezt)48- zsh: Handle multi-line history selection (#4595) (@LangLangBart)49- zsh: Fixed `_fzf_compgen_{path,dir}` to respect `FZF_COMPLETION_{PATH,DIR}_OPTS` (#4592) (@LangLangBart)50- Bug fixes51 - Fixed `--preview-window follow` not working correctly with wrapping (#3243, #4258)52 - Fixed symlinks to directories being returned as files (#4676) (@skk64)53 - Fixed SIGHUP signal handling (#4668) (@LangLangBart)
3128 unmodified lines