From c825a836a99675c2ea1fec06cd3a23d143e75601 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Thu, 21 Jan 2021 21:13:40 -0800 Subject: [PATCH] Add bat alias for zsh --- bat/.config/zsh/zshrc.d/bat.zsh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 bat/.config/zsh/zshrc.d/bat.zsh diff --git a/bat/.config/zsh/zshrc.d/bat.zsh b/bat/.config/zsh/zshrc.d/bat.zsh new file mode 100644 index 0000000..0068d8e --- /dev/null +++ b/bat/.config/zsh/zshrc.d/bat.zsh @@ -0,0 +1,3 @@ +if command -v bat &> /dev/null ; then + alias cat=bat +fi