summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-06-06 10:06:13 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-06-06 10:06:13 +0200
commitfa7e31e75d81b1625b5c9ce76435e534f0dc0c80 (patch)
tree01c32f9a61e496df23d9f7bc2f0efa5bbaf6baa4 /etc
parent9fdb78b5df06a1cc2b51b57e85888f1c6db09377 (diff)
Use maildir shortcuts for mutt aliases
Diffstat (limited to 'etc')
-rw-r--r--etc/.zshrc4
1 files changed, 2 insertions, 2 deletions
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
# }}}