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

This commit is contained in:
Jonathan Zacsh 2022-07-15 01:53:23 -05:00 committed by GitHub
parent 51fdaad002
commit c79c306adb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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="