diff options
author | June McEnroe <programble@gmail.com> | 2013-05-12 17:40:53 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2013-05-12 17:40:53 -0400 |
commit | c5cf1887c8e23da8eb27fe56afa7b2bb33cd6b38 (patch) | |
tree | 5fd157a61feb8b1aa6a2d366f6385323913d590f | |
parent | Add mplayer configuration (diff) | |
download | src-c5cf1887c8e23da8eb27fe56afa7b2bb33cd6b38.tar.gz src-c5cf1887c8e23da8eb27fe56afa7b2bb33cd6b38.zip |
Only run pacman on zsh start if it exists
-rw-r--r-- | .zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc index b2173be4..0003316a 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 |