summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2013-05-20 15:49:22 -0400
committerJune McEnroe <programble@gmail.com>2013-05-20 15:49:22 -0400
commitac188fec366edc6b1a8eea4d00b9897f12a5ce3c (patch)
tree237ba92d626b82e42bf6f6f51ae3fcdbab5d93d1
parentRequire pp in IRB (diff)
downloadsrc-ac188fec366edc6b1a8eea4d00b9897f12a5ce3c.tar.gz
src-ac188fec366edc6b1a8eea4d00b9897f12a5ce3c.zip
Do not force update, just notify
-rw-r--r--.zshrc3
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