From edb2622b7e1568d59f341030fc35c62662e10531 Mon Sep 17 00:00:00 2001 From: Nicole O'Connor Date: Wed, 22 Apr 2026 14:49:06 -0700 Subject: [PATCH] add icon for when zshrc updates are pending --- base/updates.zsh | 8 +++++++- modules/compinstall.zsh | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/base/updates.zsh b/base/updates.zsh index 9578a09..d5dac5d 100644 --- a/base/updates.zsh +++ b/base/updates.zsh @@ -41,4 +41,10 @@ if [[ $_zeeshdev_ignore_updates != 1 ]]; then fi else ticker_message "zeesh: skipping updates (fuse blown)" -fi \ No newline at end of file +fi + +# TODO: Specialized icon function for these one off icons +function update_icon () { + [[ _zshrc_updates_pending -eq 1 ]] && print "♻️" +} +rprompt_functions+=update_icon \ No newline at end of file diff --git a/modules/compinstall.zsh b/modules/compinstall.zsh index 12b68b7..32d33f4 100644 --- a/modules/compinstall.zsh +++ b/modules/compinstall.zsh @@ -1,6 +1,6 @@ # The following lines were added by compinstall -zstyle ':completion:*' auto-description '%BCompleting argument: $F{magenta}%d%f%b' +zstyle ':completion:*' auto-description '%BCompleting argument: %F{magenta}%d%f%b' zstyle ':completion:*' expand prefix suffix zstyle ':completion:*' format '%BCompleting: %F{cyan}%d%f%b' zstyle ':completion:*' group-name ''