diff options
author | June McEnroe <programble@gmail.com> | 2013-05-20 15:49:22 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2013-05-20 15:49:22 -0400 |
commit | ac188fec366edc6b1a8eea4d00b9897f12a5ce3c (patch) | |
tree | 237ba92d626b82e42bf6f6f51ae3fcdbab5d93d1 | |
parent | Require pp in IRB (diff) | |
download | src-ac188fec366edc6b1a8eea4d00b9897f12a5ce3c.tar.gz src-ac188fec366edc6b1a8eea4d00b9897f12a5ce3c.zip |
Do not force update, just notify
-rw-r--r-- | .zshrc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.zshrc b/.zshrc index 0003316a..70c2a9ff 100644 --- a/.zshrc +++ b/.zshrc @@ -133,6 +133,5 @@ alias gsh='git show' alias gt='git tag' alias gu='git pull' -# Update all the time! -[ -f /usr/bin/pacman ] && /usr/bin/pacman -Qu > /dev/null && [ ! -f /var/lib/pacman/db.lck ] && pacman -Syu +[ -f /usr/bin/pacman ] && /usr/bin/pacman -Qu > /dev/null && echo "$(/usr/bin/pacman -Qu | wc -l) updates" true |