diff options
author | Mark Powers <mark@marks.kitchen> | 2021-01-01 16:20:06 -0600 |
---|---|---|
committer | Mark Powers <mark@marks.kitchen> | 2021-01-01 16:20:06 -0600 |
commit | d3ef07f982ca8349d27f638ec252178170b2ceff (patch) | |
tree | c1864d05c7a2d0e526ab98caa68d29d28752d64f | |
parent | 90600e93eb3cf32b85970a45481e6dbdd557c72a (diff) |
Add mutt mail selector function
-rw-r--r-- | .bashrc | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 +} + |