diff options
Diffstat (limited to 'mutt')
-rwxr-xr-x | mutt/alias.sh | 2 | ||||
-rw-r--r-- | mutt/aliases.txt | 2 | ||||
-rwxr-xr-x | mutt/notify.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/mutt/alias.sh b/mutt/alias.sh index 3761901..209c50f 100755 --- a/mutt/alias.sh +++ b/mutt/alias.sh @@ -7,7 +7,7 @@ NEWALIAS=$(echo "${MESSAGE}" | grep ^"From: " | sed s/[\,\"\']//g | awk '{$1=""; if grep -Fxq "$NEWALIAS" $HOME/.mutt/aliases.txt; then : else - if [[ "$NEWALIAS" == "*Google*" ]] || [[ "$NEWALIAS" == "*no-reply*" ]]; then + if [[ "$NEWALIAS" != "*Google*" ]] || [[ "$NEWALIAS" != "*no-reply*" ]]; then echo "$NEWALIAS" >> $HOME/.mutt/aliases.txt; fi fi diff --git a/mutt/aliases.txt b/mutt/aliases.txt index 00f33b6..232edf1 100644 --- a/mutt/aliases.txt +++ b/mutt/aliases.txt @@ -1,6 +1,6 @@ alias spasoevich-anita <spaanita3@hotmail.com> alias hansson-matthew <matthewhansson@yahoo.com> -alias marcus-begic <marcus.begic1@malmoborgar.se> +alias begic-marcus <marcus.begic1@malmoborgar.se> alias fleetwood-leslie Leslie Fleetwood <leslie.fleetwood@malmoborgar.se> alias antoaneta-sofronieva toni_sfr@mail.bg alias entertainment-blizzard Blizzard Entertainment <Newsletter@email.blizzard.com> diff --git a/mutt/notify.sh b/mutt/notify.sh index f7b44b5..673dbd5 100755 --- a/mutt/notify.sh +++ b/mutt/notify.sh @@ -2,6 +2,7 @@ # # Turns on Numlock +echo "$1" echo "$1" | grep -q "New" > /dev/null 2>&1 if [ $? -eq 0 ]; @@ -12,4 +13,3 @@ else xset -led 1 fi -echo "$1" |