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 b2a0fe4d5e63e4fcf9ee577bd098beafae536dfc
parent 010246296982a76593a66b306241f270591cfa66
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sat,  9 Mar 2019 09:18:32 +0100

Change Geodatahub to Github

Diffstat:
Mlinks/bin/mailstatus.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/links/bin/mailstatus.sh b/links/bin/mailstatus.sh @@ -7,13 +7,13 @@ fi newmails=$(find $maildir/*/{INBOX,geodatahub}/new -type f) numbernewmails=$(echo $newmails | wc -w | sed 's/ *//') mailboxes="$(echo $newmails | tr ' ' '\n' | sed 's/.*\/mail\///' | - sed 's/\/INBOX.*//' | sed 's/adamsgaard\/geodatahub.*/geodatahub/')" + sed 's/\/INBOX.*//' | sed 's/adamsgaard\/github.*/github/')" accounts="" if [[ $mailboxes == *"adamsgaard"* ]]; then accounts="${accounts}a" fi -if [[ $mailboxes == *"geodatahub"* ]]; then +if [[ $mailboxes == *"github"* ]]; then accounts="${accounts}G" fi if [[ $mailboxes == *"princeton"* ]]; then