summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Powers <mark@marks.kitchen>2021-01-01 16:20:06 -0600
committerMark Powers <mark@marks.kitchen>2021-01-01 16:20:06 -0600
commitd3ef07f982ca8349d27f638ec252178170b2ceff (patch)
treec1864d05c7a2d0e526ab98caa68d29d28752d64f
parent90600e93eb3cf32b85970a45481e6dbdd557c72a (diff)
Add mutt mail selector function
-rw-r--r--.bashrc13
1 files changed, 13 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 99afea6..943660e 100644
--- a/.bashrc
+++ b/.bashrc
@@ -163,3 +163,16 @@ source $HOME/.cargo/env
show_markdown () {
pandoc $1 > /tmp/show_markdown.html; surf /tmp/show_markdown.html
}
+
+mail () {
+ sel=$(iselect -a 'kitchen' 'cafe')
+ case $sel in
+ kitchen)
+ neomutt -F ~/.muttrc_kitchen
+ ;;
+ cafe)
+ neomutt -F ~/.muttrc_cafe
+ ;;
+ esac
+}
+