mirror of
https://github.com/boxpositron/absolute-dotfiles.git
synced 2026-02-28 11:40:37 +00:00
fix(zshrc): fix syntax error in conditional statement for batcat installation check
This commit is contained in:
2
.zshrc
2
.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)"
|
alias cat="bat --theme=\$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo ansi || echo base16)"
|
||||||
else
|
else
|
||||||
|
|
||||||
if [-x "$(command -v batcat)"]; then
|
if [ -x "$(command -v batcat)"]; then
|
||||||
alias cat="batcat"
|
alias cat="batcat"
|
||||||
else
|
else
|
||||||
echo "bat is not installed. Please install it to use the custom cat command."
|
echo "bat is not installed. Please install it to use the custom cat command."
|
||||||
|
|||||||
Reference in New Issue
Block a user