From f8c95b7b7a846c5eafc8ae7551f1d0482fb517e5 Mon Sep 17 00:00:00 2001 From: David Ibia Date: Sun, 19 Jan 2025 18:09:47 +0100 Subject: [PATCH] fix(zshrc): fix syntax error in conditional statement for batcat installation check --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 519b19b..a572dc1 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."