summaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-01-28 18:36:06 +0100
committerEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-01-28 18:36:06 +0100
commita77bbf9f62f035cd8df99ebb31fb0ec8b40e82b2 (patch)
treeebafed98c76484592f4b77e2325297db3cd60346 /bash
parent7599de7b7316f68e62920aa012347b5affb6a9e4 (diff)
Pandoc aliases and completions
Diffstat (limited to 'bash')
-rw-r--r--bash/.bash_aliases5
-rw-r--r--bash/.bash_profile3
2 files changed, 8 insertions, 0 deletions
diff --git a/bash/.bash_aliases b/bash/.bash_aliases
index cd52b03..ea32b39 100644
--- a/bash/.bash_aliases
+++ b/bash/.bash_aliases
@@ -29,3 +29,8 @@ alias ctree='tree -I target'
# Clean whiteboards!
# found at: https://gist.github.com/lelandbatey/8677901
alias whiteboard="convert $1 -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 $2"
+
+# Pandoc for ElenQ
+alias pandoc-xelatex="pandoc $@ --latex-engine=xelatex --to latex -N"
+alias elenqdoc-article="pandoc-xelatex $@ --template elenq-article --metadata=documentclass:article"
+alias elenqdoc-book="pandoc-xelatex $@ --template elenq-book --metadata=documentclass:book"
diff --git a/bash/.bash_profile b/bash/.bash_profile
index 4d21956..96e00e0 100644
--- a/bash/.bash_profile
+++ b/bash/.bash_profile
@@ -22,3 +22,6 @@ export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:=$HOME/.config}
export XDG_DATA_HOME=${XDG_DATA_HOME:=$HOME/.config}
export PATH="$HOME/.cargo/bin:$PATH"
+
+# Pandoc bash completion
+eval "$(pandoc --bash-completion)"