diff options
author | June McEnroe <june@causal.agency> | 2013-05-20 15:49:22 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2013-05-20 15:49:22 -0400 |
commit | 4905455d6e3f9ffc4a9a00a1d50ad0374a195c43 (patch) | |
tree | aab4ddaa463c261cdcb839f985d903af1fac5c19 | |
parent | Require pp in IRB (diff) | |
download | src-4905455d6e3f9ffc4a9a00a1d50ad0374a195c43.tar.gz src-4905455d6e3f9ffc4a9a00a1d50ad0374a195c43.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 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 |