summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorMark Powers <mark@marks.kitchen>2020-12-26 10:49:55 -0600
committerMark Powers <mark@marks.kitchen>2020-12-26 10:49:55 -0600
commit3ac9f46b5739d3abf78a255b12ee1bb46f0e4a3f (patch)
tree65af55b2320ad353d42f556f000c5d717ad7157b /.bashrc
parent42300b06ab4e3728cae7e53a287fe738df862c98 (diff)
Add show_markdown
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 42e56b8..024657f 100644
--- a/.bashrc
+++ b/.bashrc
@@ -159,3 +159,6 @@ PROMPT_COMMAND='history -a'
source $HOME/.cargo/env
+show_markdown () {
+ pandoc $1 > /tmp/show_markdown.html; firefox /tmp/show_markdown.html
+}