Add bat to bash autocomplete commands (#3223)

Bat is a common alternative to cat, it's even referenced multiple times
in fzf docs. This makes `bat **` work by default.
This commit is contained in:
Sten Arthur Laane 2023-03-27 04:21:37 +01:00 committed by GitHub
parent 60f37aae2f
commit ae745d9397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -309,7 +309,7 @@ complete -o default -F _fzf_opts_completion fzf-tmux
d_cmds="${FZF_COMPLETION_DIR_COMMANDS:-cd pushd rmdir}"
a_cmds="
awk cat diff diff3
awk bat cat diff diff3
emacs emacsclient ex file ftp g++ gcc gvim head hg hx java
javac ld less more mvim nvim patch perl python ruby
sed sftp sort source tail tee uniq vi view vim wc xdg-open