]> git.rmz.io Git - dotfiles.git/blobdiff - zsh/lib/motd.zsh
zsh/motd: print if linux version is outdated
[dotfiles.git] / zsh / lib / motd.zsh
index c4967674b160523d3c570e1750fcf3b4e48beb56..409726fec3aa0b29cbbb81b41025b11574b0fd95 100644 (file)
@@ -22,6 +22,9 @@ if (( $+commands[checkupdates] )); then
         short "Outdated packages: $pkg_count"
     fi
 fi
+if (( $+commands[pacman] )); then
+    kercmp -q || short "linux" "$(kercmp)"
+fi
 
 # list sessions if possible
 tmux list-sessions 2>/dev/null || true