From 81c8ad34aa931918950fe5abbf660562f782f915 Mon Sep 17 00:00:00 2001 From: Bruno 21 Date: Fri, 2 Oct 2020 15:06:38 +0200 Subject: [PATCH] antibody.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1 seule notification même si plusieurs màj --- plugins.d/antibody.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins.d/antibody.sh b/plugins.d/antibody.sh index 510a9c5..71ebf4b 100755 --- a/plugins.d/antibody.sh +++ b/plugins.d/antibody.sh @@ -103,9 +103,13 @@ if [ -n "$updated" ]; then echo "Last commit: "$url"/commits/"$last_commit # https://github.com/zsh-users/zsh-completions/commits/ - notif="$module has been updated" - notification "$notif" + #notif="$module has been updated" + #notification "$notif" + modules+="$module " done + notif="$modules has been updated" + notification "$notif" + else echo -e "\033[4mNo Antibody modules to update.\033[0m" echo ""