diff options
author | Mark Powers <mark@marks.kitchen> | 2020-12-26 10:49:55 -0600 |
---|---|---|
committer | Mark Powers <mark@marks.kitchen> | 2020-12-26 10:49:55 -0600 |
commit | 3ac9f46b5739d3abf78a255b12ee1bb46f0e4a3f (patch) | |
tree | 65af55b2320ad353d42f556f000c5d717ad7157b | |
parent | 42300b06ab4e3728cae7e53a287fe738df862c98 (diff) |
Add show_markdown
-rw-r--r-- | .bash_aliases | 2 | ||||
-rw-r--r-- | .bashrc | 3 | ||||
-rwxr-xr-x | .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"' @@ -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 +} @@ -138,4 +138,3 @@ command WQ wq command W w command Q q nnoremap Q <nop> - |