mutt-wizard

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 8cb5f9d2e4b78894f912393c69740d99ee69e505
parent 7129fa0597f3f365459de51c560c9d5c68bbd707
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Fri, 28 Feb 2025 09:30:59 +0000

Merge pull request #1000 from jdujava/fix-plural

Fix usages of mail/mails
Diffstat:
Mbin/mailsync | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/mailsync b/bin/mailsync @@ -63,11 +63,11 @@ syncandnotify() { newcount=$(echo "$new" | sed '/^\s*$/d' | wc -l) case 1 in $((newcount > 5)) ) - echo "$newcount new mail for $2." - [ -z "$MAILSYNC_MUTE" ] && notify "New Mail!" "📬 $newcount new mail(s) in \`$2\` account." + echo "$newcount new mails for $2." + [ -z "$MAILSYNC_MUTE" ] && notify "New Mail!" "📬 $newcount new mails in \`$2\` account." ;; $((newcount > 0)) ) - echo "$newcount new mail for $2." + echo "$newcount new mail(s) for $2." [ -z "$MAILSYNC_MUTE" ] && for file in $new; do # Extract and decode subject and sender from mail.