commit eed02b6548ae9b3413a5e8e8c6e01cf1c307bd52
Author: Simon Watson <spw01@protonmail.com>
Date: Wed Oct 6 15:50:26 2021 -0400
Fix bat/cat compat
diff --git a/bashrc/bashrc-all b/bashrc/bashrc-all
index 84a40ab..edb9453 100644
--- a/bashrc/bashrc-all
+++ b/bashrc/bashrc-all
@@ -7,8 +7,9 @@ fi
# Cargo config
[ -f ~/.cargo ] && source "$HOME/.cargo/env"
+CAT_PATH=$(which cat --skip-alias)
if [ -f ~/.cache/wal/sequences ]; then
- cat ~/.cache/wal/sequences
+ $CAT_PATH ~/.cache/wal/sequences
fi
export EDITOR=$(which vim)