diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-05-30 20:38:20 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-05-30 20:41:50 +0900 |
| commit | 1ecfa38eee94864bbaf4ba2bda8835dfbc845da6 (patch) | |
| tree | c5612aa0f946aa131db6ded71826e82d6e381261 /shell | |
| parent | 54fd92b7ddb22647170110790391d39a1065a863 (diff) | |
| download | fzf-1ecfa38eee94864bbaf4ba2bda8835dfbc845da6.tar.gz | |
[bash] Fix 'complete' errors when IFS is newline
Fix #4342
Diffstat (limited to 'shell')
| -rw-r--r-- | shell/completion.bash | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |
