[bash] Fix variable completion of directory-related commands

Fix #1987
This commit is contained in:
Junegunn Choi 2024-04-04 12:43:35 +09:00
parent 8a2df79711
commit 09a4ca6ab5
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -548,7 +548,7 @@ done
# Directory
for cmd in $d_cmds; do
__fzf_defc "$cmd" _fzf_dir_completion "-o nospace -o dirnames"
__fzf_defc "$cmd" _fzf_dir_completion "-o default -o bashdefault -o dirnames"
done
# ssh