summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 024657f..99afea6 100644
--- a/.bashrc
+++ b/.bashrc
@@ -159,6 +159,7 @@ 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; firefox /tmp/show_markdown.html
+ pandoc $1 > /tmp/show_markdown.html; surf /tmp/show_markdown.html
}