diff options
-rw-r--r-- | .bashrc | 17 | ||||
-rwxr-xr-x | bin/mail | 11 | ||||
-rwxr-xr-x | bin/show_markdown | 3 |
3 files changed, 14 insertions, 17 deletions
@@ -159,20 +159,3 @@ PROMPT_COMMAND='history -a' source $HOME/.cargo/env -# compile a markdown file, and display it in a browser (surf) -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 -} - diff --git a/bin/mail b/bin/mail new file mode 100755 index 0000000..00236ed --- /dev/null +++ b/bin/mail @@ -0,0 +1,11 @@ +#!/bin/bash +sel=$(iselect -a 'kitchen' 'cafe') +case $sel in + kitchen) + neomutt -F ~/.muttrc_kitchen + ;; + cafe) + neomutt -F ~/.muttrc_cafe + ;; +esac + diff --git a/bin/show_markdown b/bin/show_markdown new file mode 100755 index 0000000..553c568 --- /dev/null +++ b/bin/show_markdown @@ -0,0 +1,3 @@ +#!/bin/bash +pandoc $1 > /tmp/show_markdown.html; surf /tmp/show_markdown.html + |