From 3ac9f46b5739d3abf78a255b12ee1bb46f0e4a3f Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Sat, 26 Dec 2020 10:49:55 -0600 Subject: Add show_markdown --- .bash_aliases | 2 -- .bashrc | 3 +++ .vimrc | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.bash_aliases b/.bash_aliases index 54386b0..ebd14a2 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -7,8 +7,6 @@ alias moon='curl http://wttr.in/Moon' alias loopback="pacmd load-module module-loopback latency_msec=250" alias unloopback="pacmd unload-module module-loopback" alias rm="rm -i" -alias notes="vim ~/txt/notes-$(date +%F).md" -alias show="pandoc ~/txt/notes-$(date +%F).md > /tmp/output.html; firefox /tmp/output.html" alias du="ncdu -rr" alias backup='bash ~/Scripts/Bash/backup.sh' alias vimtab='vim -c "so ~/.vimtabrc"' 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 +} diff --git a/.vimrc b/.vimrc index 76d2d1b..df75152 100755 --- a/.vimrc +++ b/.vimrc @@ -138,4 +138,3 @@ command WQ wq command W w command Q q nnoremap Q - -- cgit v1.2.3