summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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