1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

making template copy function

This commit is contained in:
tiynger
2019-10-16 16:55:09 +02:00
parent bf175d083f
commit 740882bed4
2 changed files with 27 additions and 5 deletions

View File

@@ -25,11 +25,6 @@ alias config="/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME"
sc() { find ~/.config/* ~/.local/bin/* -type f | fzf | xargs -r $EDITOR ;}
sd() { find ~/ownCloud/* -type f | grep ".pdf" | fzf | xargs -r $READER ;}
# git
texhandout() {
[[ -z $1 ]] && echo "missing argument: filename (no ending)" && return 1
cp ~/gitrepos/Tools/LaTeX\ Templates/LaTeX\ Handout/Handout.tex $1.tex && compile $1.tex
}
# grep
alias grep="grep --color=auto"