diff options
Diffstat (limited to 'mutt/alias.sh')
-rwxr-xr-x | mutt/alias.sh | 2 |
1 files changed, 1 insertions, 1 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 |