From 4905455d6e3f9ffc4a9a00a1d50ad0374a195c43 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 20 May 2013 15:49:22 -0400 Subject: Do not force update, just notify --- .zshrc | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit 1.4.1