From 0e381b73717e5b5fc2afa3fd5ca5e0c368dccf3d Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 23 Mar 2022 02:41:00 +0100 Subject: [PATCH] Zsh: Print a message when updating plugins --- .config/zsh/.zprofile | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 5be8d2b..a023e08 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -55,6 +55,7 @@ if command -v antibody > /dev/null; then local mod_month="$(stat --format="%y" ${ZSH_PLUGIN_SOURCE} 2> /dev/null | cut -d\- -f2)" # Update plugins every month. if [[ ${mod_month} -ne $(date +'%m') ]]; then + print "\e[3;95mUpdating plugins…\e[0m" antibody update --parallelism=$(nproc --ignore=1) \ && touch ${ZSH_PLUGIN_SOURCE} fi