Only run this if we are missing bat

This commit is contained in:
David Heinemeier Hansson
2025-06-28 11:48:08 -07:00
parent 2a2a77685c
commit 07b89e0ad8

View File

@ -1,3 +1,5 @@
# Add missing installation of bat
echo "Add missing installation of bat (used by the ff alias)"
yay -S --noconfirm --needed bat
if ! command -v bat &>/dev/null; then
# Add missing installation of bat
echo "Add missing installation of bat (used by the ff alias)"
yay -S --noconfirm --needed bat
fi