X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/8b1839d7b0f3dcf8d5217da82d6eae0c94659826..86d231f832ad59610a3cf94190dc4d67fd782580:/zsh/lib/motd.zsh?ds=sidebyside diff --git a/zsh/lib/motd.zsh b/zsh/lib/motd.zsh index dd49215..59dcad3 100644 --- a/zsh/lib/motd.zsh +++ b/zsh/lib/motd.zsh @@ -20,3 +20,6 @@ pkg_count=$(checkupdates -n | grep -cv '\[.*\]') if (( $pkg_count > 0 )); then short "Outdated packages: $pkg_count" fi + +# list sessions if possible +tmux list-sessions 2>/dev/null || true