From c33133f7c995ad7455a73135c1f0e9bd73a67837 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Tue, 3 Jun 2025 02:55:16 +0200 Subject: [PATCH] Alias cat to bat if installed and use gruvbox theme --- zsh/dot-zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsh/dot-zshrc b/zsh/dot-zshrc index 4c067a8..305b924 100644 --- a/zsh/dot-zshrc +++ b/zsh/dot-zshrc @@ -55,6 +55,11 @@ export EDITOR=nvim alias cl="clear" +if hash bat 2>/dev/null; then + export BAT_THEME="gruvbox-dark" + alias cat=bat +fi + if hash devcontainer 2>/dev/null; then dc() { ORIG_DIR="$PWD"