[bash-completion] Fix endless loop when completion.bash sourced twice
Before adoption: this commit came in with the history the project adopted, so no landing records it.
I forgot to add the "not _fzf" check into __fzf_orig_completion, so invoking it twice would rewrite the _fzf_orig_completion_xxx variables and then cause an endless loop when completion is requested.
authored by Tomas Janousek · committed by Junegunn Choi · parent 75b8cca · Browse files · 1 file+1 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Fixes: ef2c29d5d497 ("[bash-completion] Optimize __fzf_orig_completion_filter")
Diff stats
1 file+1 added−0 removed
- other:+1 added−0 removed