From 8e69b8ee69a5036497ad3b11ac821b9f253e4a40 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Sun, 3 Aug 2014 18:19:04 +0300 Subject: fix mutt aliases --- mutt/alias.sh | 3 +-- mutt/aliases.txt | 38 -------------------------------------- 2 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 mutt/aliases.txt (limited to 'mutt') diff --git a/mutt/alias.sh b/mutt/alias.sh index 209c50f..c2cb1ee 100755 --- a/mutt/alias.sh +++ b/mutt/alias.sh @@ -1,5 +1,4 @@ -#!/bin/sh - +#!/bin/bash MESSAGE=$(cat) NEWALIAS=$(echo "${MESSAGE}" | grep ^"From: " | sed s/[\,\"\']//g | awk '{$1=""; if (NF == 3) {print "alias" $0;} else if (NF == 2) {print "alias" $0 $0;} else if (NF > 3) {print "alias", tolower($(NF-1))"-"tolower($2) $0;}}') diff --git a/mutt/aliases.txt b/mutt/aliases.txt deleted file mode 100644 index 232edf1..0000000 --- a/mutt/aliases.txt +++ /dev/null @@ -1,38 +0,0 @@ -alias spasoevich-anita -alias hansson-matthew -alias begic-marcus -alias fleetwood-leslie Leslie Fleetwood -alias antoaneta-sofronieva toni_sfr@mail.bg -alias entertainment-blizzard Blizzard Entertainment -alias neijber-anton Anton Neijber -alias fleetwood-leslie Leslie Fleetwood -alias quinn-vincent vincent Quinn -alias toni_sfr@mail.bg toni_sfr@mail.bg -alias spasoevic-anita Anita Spasoevic -alias Vasil Zlatanov -alias zlatanov-vasil Vasil Zlatanov -alias freimann-kim -alias vasil.zlatanov@mail.bg vasil.zlatanov@mail.bg -alias wandlen-magda Magda Wandlen -alias edgecombe-sam Sam Edgecombe -alias andersson-hanna Hanna Andersson -alias edgecombe-samuel Samuel Edgecombe -alias ibtgovernance_assist -alias burge-josefin Josefin Burge -alias mailer-colemak Colemak forum Mailer -alias account-microsoft Microsoft account -alias zlatanov-kristian Kristian Zlatanov -alias roth-martin Martin Roth -alias siljeström-monica Monica Siljeström -alias bakoush-nagimaldin Nagimaldin Bakoush -alias wandlén-magda Magda Wandlén -alias liedbeck-patrik Patrik Liedbeck -alias support-steam Steam Support -alias freimann-kim Kim Freimann -alias persson-linda Linda Persson -alias fourie-christelle Christelle Fourie -alias begic-marcus Marcus Begic -alias Facebook -alias martin-sarah Sarah Martin -alias alkhafadji-ali Ali Alkhafadji -alias lavröd-jakob Jakob Lavröd -- cgit v1.2.3-54-g00ecf