Skip to content
Myr

Add bat to bash autocomplete commands (#3223)

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

Bat is a common alternative to cat, it's even referenced multiple times in fzf docs. This makes `bat **` work by default.

authored by Sten Arthur Laane · committed by GitHub · parent 60f37aa · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:shell/completion.bash+1 added-1 removed
307 unmodified lines
308complete -o default -F _fzf_opts_completion fzf-tmux309310d_cmds="${FZF_COMPLETION_DIR_COMMANDS:-cd pushd rmdir}"311a_cmds="312 awk cat diff diff3312 awk bat cat diff diff3313 emacs emacsclient ex file ftp g++ gcc gvim head hg hx java314 javac ld less more mvim nvim patch perl python ruby315 sed sftp sort source tail tee uniq vi view vim wc xdg-open316 basename bunzip2 bzip2 chmod chown curl cp dirname du
65 unmodified lines