[bash] Fix `fzf-tmux` to have `fzf`'s completion (#2871)

pull/2877/head
Jonathan Zacsh 2 years ago committed by GitHub
parent 51fdaad002
commit c79c306adb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -304,6 +304,10 @@ _fzf_alias_completion() {
# fzf options
complete -o default -F _fzf_opts_completion fzf
# fzf-tmux is a thin fzf wrapper that has only a few more options than fzf
# itself. As a quick improvement we take fzf's completion. Adding the few extra
# fzf-tmux specific options (like `-w WIDTH`) are left as a future patch.
complete -o default -F _fzf_opts_completion fzf-tmux
d_cmds="${FZF_COMPLETION_DIR_COMMANDS:-cd pushd rmdir}"
a_cmds="

Loading…
Cancel
Save