summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
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