From 00d0dfb24d415af4e9eb7d7fa1cb4ac34be7e6c5 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Sat, 19 Apr 2014 11:26:25 +0200 Subject: Update to muttrc and vimrc. --- mutt/alias.sh | 2 +- mutt/aliases.txt | 2 +- mutt/notify.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mutt') 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 alias hansson-matthew -alias marcus-begic +alias begic-marcus alias fleetwood-leslie Leslie Fleetwood alias antoaneta-sofronieva toni_sfr@mail.bg alias entertainment-blizzard Blizzard Entertainment 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" -- cgit v1.2.3-54-g00ecf