mirror of
https://github.com/junegunn/fzf
synced 2024-10-30 09:20:14 +00:00
[bash] Fix fzf-tmux
to have fzf
's completion (#2871)
This commit is contained in:
parent
51fdaad002
commit
c79c306adb
@ -304,6 +304,10 @@ _fzf_alias_completion() {
|
|||||||
|
|
||||||
# fzf options
|
# fzf options
|
||||||
complete -o default -F _fzf_opts_completion fzf
|
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}"
|
d_cmds="${FZF_COMPLETION_DIR_COMMANDS:-cd pushd rmdir}"
|
||||||
a_cmds="
|
a_cmds="
|
||||||
|
Loading…
Reference in New Issue
Block a user