dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit ad10ddd8ebd8ad87e8708af6b9ed1266caf9c48d
parent 74f42c3e27f890b97b5c9713f694507dda726773
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 17 Jun 2019 16:58:52 +0200

Hide git folder from mail status

Diffstat:
M.local/bin/mailstatus | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.local/bin/mailstatus b/.local/bin/mailstatus @@ -3,7 +3,8 @@ maildir=~/.mail if [ ! -d $maildir ]; then exit 0 fi -newmails=$(find $maildir/*/INBOX/new $maildir/*/git/new -type f) +#newmails=$(find $maildir/*/INBOX/new $maildir/*/git/new -type f) +newmails=$(find $maildir/*/INBOX/new -type f) numbernewmails=$(echo "$newmails" | wc -w | sed 's/ *//') mailboxes="$(echo "$newmails" | tr ' ' '\n' | \ sed 's/.*\/mail\///;s/\/INBOX.*//;s/adamsgaard\/git.*/git/')"