Skip to content
Myr

[bash] Update completion.bash

Before adoption: this commit came in with the history the project adopted, so no landing records it.

[bash] Update completion.bash

authored by Junegunn Choi · committed by Junegunn Choi · parents 95764be, e240135 · Browse files · 1 file+3 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:shell/completion.bash+3 added-2 removed
270 unmodified lines
271 _fzf_completion_loader=1272fi273274_fzf_defc() {275 local cmd func opts orig_var orig275 local cmd func opts orig_var orig def276 cmd="$1"277 func="$2"278 opts="$3"279 orig_var="_fzf_orig_completion_$cmd"280 orig="${!orig_var}"281 if [ -n "$orig" ]; then282 eval "$(printf "$orig" "$func")"282 printf -v def "$orig" "$func"283 eval "$def"284 else285 complete -F "$func" $opts "$cmd"286 fi287}
26 unmodified lines