mirror of
https://github.com/junegunn/fzf.git
synced 2026-02-21 09:08:40 +08:00
zsh: Make _fzf_compgen_{path,dir} respect FZF_COMPLETION_{PATH,DIR}_OPTS
Authored by: @LangLangBart Fix #4592
This commit is contained in:
@@ -46,6 +46,7 @@ CHANGELOG
|
||||
(`SHIFT-DELETE`)
|
||||
- Added fish completion support (#4605) (@lalvarezt)
|
||||
- zsh: Handle multi-line history selection (#4595) (@LangLangBart)
|
||||
- zsh: Fixed `_fzf_compgen_{path,dir}` to respect `FZF_COMPLETION_{PATH,DIR}_OPTS` (#4592) (@LangLangBart)
|
||||
- Bug fixes
|
||||
- Fixed `--preview-window follow` not working correctly with wrapping (#3243, #4258)
|
||||
- Fixed symlinks to directories being returned as files (#4676) (@skk64)
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user