From 47e7e50beee7e341d33f62b84c69938e7a868b48 Mon Sep 17 00:00:00 2001 From: David Ibia Date: Sun, 19 Jan 2025 18:09:59 +0100 Subject: [PATCH] fix(zshrc): fix typo in command name from `batcat` to `batcat` feat(zshrc): add support for batcat command as alternative to cat command --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index a572dc1..b6865d1 100644 --- a/.zshrc +++ b/.zshrc @@ -142,7 +142,7 @@ if [ -x "$(command -v bat)" ]; then alias cat="bat --theme=\$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo ansi || echo base16)" else - if [ -x "$(command -v batcat)"]; then + if [ -x "$(command -v batcat)" ]; then alias cat="batcat" else echo "bat is not installed. Please install it to use the custom cat command."