add icon for when zshrc updates are pending

This commit is contained in:
2026-04-22 14:49:06 -07:00
parent f4b9147ed6
commit edb2622b7e
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -41,4 +41,10 @@ if [[ $_zeeshdev_ignore_updates != 1 ]]; then
fi
else
ticker_message "zeesh: skipping updates (fuse blown)"
fi
fi
# TODO: Specialized icon function for these one off icons
function update_icon () {
[[ _zshrc_updates_pending -eq 1 ]] && print "♻️"
}
rprompt_functions+=update_icon