diff options
author | June McEnroe <june@causal.agency> | 2013-05-12 17:40:53 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2013-05-12 17:40:53 -0400 |
commit | f79c0fe5f4f1cd9ec98e8cf869c1ed6a07b35652 (patch) | |
tree | ad0b4e3b8e0b872695894f6bdf0579929ac211d2 | |
parent | Add mplayer configuration (diff) | |
download | src-f79c0fe5f4f1cd9ec98e8cf869c1ed6a07b35652.tar.gz src-f79c0fe5f4f1cd9ec98e8cf869c1ed6a07b35652.zip |
Only run pacman on zsh start if it exists
Diffstat (limited to '')
-rw-r--r-- | .zshrc | 2 |
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 |