[bin] Refine the letterup shortcut and add tmuxinator env
This commit is contained in:
parent
c0a5aea384
commit
eda4008f01
|
@ -0,0 +1,11 @@
|
||||||
|
# Graphical word processors can go eat an egg
|
||||||
|
|
||||||
|
name: letter-<%= File.basename(Dir.pwd) %>
|
||||||
|
root: <%= Dir.pwd %>
|
||||||
|
|
||||||
|
pre: make pdf
|
||||||
|
|
||||||
|
windows:
|
||||||
|
- editor: em -nw brief.tex
|
||||||
|
- build: make watch
|
||||||
|
- preview: zathura brief.pdf
|
|
@ -69,7 +69,15 @@ alias -g baml="|bat -l yaml"
|
||||||
kp() { export KUBECONFIG=/dev/shm/kubeconfig && gopass $(gopass ls -f | fzf --query "'${1} kubeconfig" --select-1) > $KUBECONFIG && source <(kubectl completion zsh) }
|
kp() { export KUBECONFIG=/dev/shm/kubeconfig && gopass $(gopass ls -f | fzf --query "'${1} kubeconfig" --select-1) > $KUBECONFIG && source <(kubectl completion zsh) }
|
||||||
|
|
||||||
timestamp() { date +%Y-%m-%d-%H%M%S }
|
timestamp() { date +%Y-%m-%d-%H%M%S }
|
||||||
letterup() { take $1 && cp -a ~/Documents/Personal/Brief-Vorlage/2017-LaTeX/* .; }
|
letterup() {
|
||||||
|
if [[ ! -a $1 ]]; then
|
||||||
|
take $1;
|
||||||
|
cp -a ~/Documents/Personal/Brief-Vorlage/2017-LaTeX/* .;
|
||||||
|
else
|
||||||
|
cd $1;
|
||||||
|
fi;
|
||||||
|
tmuxinator start letter;
|
||||||
|
}
|
||||||
|
|
||||||
# Pretty up FZF
|
# Pretty up FZF
|
||||||
export FZF_DEFAULT_OPTS='
|
export FZF_DEFAULT_OPTS='
|
||||||
|
|
Loading…
Reference in New Issue