commit 2a2a741604c11b0f53e09c23f24d706a8a9f2175
Author: Simon Watson <spw01@protonmail.com>
Date: Mon Sep 27 10:42:13 2021 -0400
Add alias for bat to cat if bat exists
diff --git a/bashrc/bashrc-all b/bashrc/bashrc-all
index 4b17cd4..9a4df13 100644
--- a/bashrc/bashrc-all
+++ b/bashrc/bashrc-all
@@ -23,6 +23,7 @@ fi
BAT_PATH=$(which bat)
if [ ! -z "$BAT_PATH" ]; then
export MANPAGER="$BAT_PATH"
+ alias cat="$BAT_PATH"
fi
# Platform agnostic aliases