summaryrefslogtreecommitdiff
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
parent42300b06ab4e3728cae7e53a287fe738df862c98 (diff)
Add show_markdown
-rw-r--r--.bash_aliases2
-rw-r--r--.bashrc3
-rwxr-xr-x.vimrc1
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 <nop>
-