From 1ecfa38eee94864bbaf4ba2bda8835dfbc845da6 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 30 May 2025 20:38:20 +0900 Subject: [PATCH] [bash] Fix 'complete' errors when IFS is newline Fix #4342 --- shell/completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/completion.bash b/shell/completion.bash index 11a46b9d..cb23067b 100644 --- a/shell/completion.bash +++ b/shell/completion.bash @@ -572,7 +572,7 @@ __fzf_defc() { if __fzf_orig_completion_instantiate "$cmd" "$func"; then eval "$REPLY" else - complete -F "$func" $opts "$cmd" + eval "complete -F \"$func\" $opts \"$cmd\"" fi }