summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2013-05-20 15:49:22 -0400
committerJune McEnroe <june@causal.agency>2013-05-20 15:49:22 -0400
commit4905455d6e3f9ffc4a9a00a1d50ad0374a195c43 (patch)
treeaab4ddaa463c261cdcb839f985d903af1fac5c19
parentRequire pp in IRB (diff)
downloadsrc-4905455d6e3f9ffc4a9a00a1d50ad0374a195c43.tar.gz
src-4905455d6e3f9ffc4a9a00a1d50ad0374a195c43.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 957786dc..fcfdf8c5 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