diff options
author | Mark Powers <mark@marks.kitchen> | 2021-01-07 18:53:05 -0600 |
---|---|---|
committer | Mark Powers <mark@marks.kitchen> | 2021-01-07 18:53:05 -0600 |
commit | 8e44b9233932ec01d7b54845ffe37334a747f1cb (patch) | |
tree | d769c8b1fcd9d7d2714268527d807103c1578e25 | |
parent | d3ef07f982ca8349d27f638ec252178170b2ceff (diff) |
Move functions to bin/
-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 + |