From f79c0fe5f4f1cd9ec98e8cf869c1ed6a07b35652 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 12 May 2013 17:40:53 -0400 Subject: Only run pacman on zsh start if it exists --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index e520b1c5..957786dc 100644 --- a/.zshrc +++ b/.zshrc @@ -134,5 +134,5 @@ alias gt='git tag' alias gu='git pull' # Update all the time! -/usr/bin/pacman -Qu > /dev/null && [ ! -f /var/lib/pacman/db.lck ] && pacman -Syu +[ -f /usr/bin/pacman ] && /usr/bin/pacman -Qu > /dev/null && [ ! -f /var/lib/pacman/db.lck ] && pacman -Syu true -- cgit 1.4.1