aboutsummaryrefslogtreecommitdiff
path: root/mutt
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2014-04-19 11:26:25 +0200
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2014-04-19 11:26:25 +0200
commit00d0dfb24d415af4e9eb7d7fa1cb4ac34be7e6c5 (patch)
treecc2152ec05fe63a49f075f8080ad270dfe1d87f4 /mutt
parent3d2e8c0d2f354fbd963e2b12b77cd141270cf8b8 (diff)
downloaddotfiles-00d0dfb24d415af4e9eb7d7fa1cb4ac34be7e6c5.tar.gz
dotfiles-00d0dfb24d415af4e9eb7d7fa1cb4ac34be7e6c5.tar.bz2
dotfiles-00d0dfb24d415af4e9eb7d7fa1cb4ac34be7e6c5.zip
Update to muttrc and vimrc.
Diffstat (limited to 'mutt')
-rwxr-xr-xmutt/alias.sh2
-rw-r--r--mutt/aliases.txt2
-rwxr-xr-xmutt/notify.sh2
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"