summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorSten Arthur Laane <21343173+StenAL@users.noreply.github.com>2023-03-27 04:21:37 +0100
committerGitHub <noreply@github.com>2023-03-27 12:21:37 +0900
commitae745d9397bdc8b91f3c1834def3b8ecb0ae57b1 (patch)
treecd60803127932973a012a969cfe4e064f91c9ad4 /shell
parent60f37aae2f2f5d087b95eb29fca64d86417e7734 (diff)
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.
Diffstat (limited to 'shell')
-rw-r--r--shell/completion.bash2
1 files changed, 1 insertions, 1 deletions
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