From ae745d9397bdc8b91f3c1834def3b8ecb0ae57b1 Mon Sep 17 00:00:00 2001 From: Sten Arthur Laane <21343173+StenAL@users.noreply.github.com> Date: Mon, 27 Mar 2023 04:21:37 +0100 Subject: [PATCH] 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. --- shell/completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/completion.bash b/shell/completion.bash index 88fc030a..836f4b54 100644 --- a/shell/completion.bash +++ b/shell/completion.bash @@ -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