We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 779e3cc commit 923c3a8Copy full SHA for 923c3a8
shell/completion.bash
@@ -311,12 +311,12 @@ __fzf_generic_path_completion() {
311
else
312
if [[ $1 =~ dir ]]; then
313
walker=dir,follow
314
- rest=${FZF_COMPLETION_DIR_OPTS-}
+ eval "rest=(${FZF_COMPLETION_DIR_OPTS-})"
315
316
walker=file,dir,follow,hidden
317
- rest=${FZF_COMPLETION_PATH_OPTS-}
+ eval "rest=(${FZF_COMPLETION_PATH_OPTS-})"
318
fi
319
- __fzf_comprun "$4" -q "$leftover" --walker "$walker" --walker-root="$dir" $rest
+ __fzf_comprun "$4" -q "$leftover" --walker "$walker" --walker-root="$dir" "${rest[@]}"
320
fi | while read -r item; do
321
printf "%q " "${item%$3}$3"
322
done
0 commit comments