From fa7e31e75d81b1625b5c9ce76435e534f0dc0c80 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 6 Jun 2011 10:06:13 +0200 Subject: Use maildir shortcuts for mutt aliases --- etc/.zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/.zshrc b/etc/.zshrc index 16d66ae..4341390 100644 --- a/etc/.zshrc +++ b/etc/.zshrc @@ -448,9 +448,9 @@ if [[ ${distro} == debian ]] { #{{{ } #}}} if [[ ${HOST} == aneurysm ]] { #{{{ - while read mdir discard; do + while read mdir shortcut; do - alias mutt-${${mdir#.}//\//-}="mutt -f ${HOME}/Maildir/${mdir}" + alias m-${shortcut}="mutt -f ${HOME}/Maildir/${mdir}" done < Maildir/maildirs # }}} -- cgit v1.2.3