From 88ff7e6c6f20b1b596ad3f4e92767ed2809b4030 Mon Sep 17 00:00:00 2001 From: adlee-was-taken Date: Sat, 20 Dec 2025 22:53:20 -0500 Subject: [PATCH] Auto-sync from catchthesethighs --- zsh/.zshrc | 7 ++++++- zsh/functions/motd.zsh | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 9a4f2b5..d3681e8 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -294,7 +294,7 @@ _deferred_load() { DOTFILES_DIR="$HOME/.dotfiles" DOTFILES_BRANCH="main" fi - + } # ============================================================================ @@ -308,6 +308,11 @@ _background_tasks() { local sync_script="$_dotfiles_dir/bin/dotfiles-sync.sh" [[ -x "$sync_script" ]] && "$sync_script" --auto 2>/dev/null &! fi + + # Check number of available updates and export. + export UPDATE_PKG_COUNT=$(checkupdates | wc -l) + + } # ============================================================================ diff --git a/zsh/functions/motd.zsh b/zsh/functions/motd.zsh index 0752c5b..472b5de 100644 --- a/zsh/functions/motd.zsh +++ b/zsh/functions/motd.zsh @@ -16,7 +16,7 @@ # MOTD Width, adjust if needed. # ============================================================================ -_M_WIDTH=64 +_M_WIDTH=66 # ============================================================================ # Colors (ANSI escape codes)