mirror of
				https://github.com/tiyn/dotfiles.git
				synced 2025-11-04 06:21:16 +01:00 
			
		
		
		
	make getting latexhandouts easier with function
This commit is contained in:
		@@ -26,7 +26,10 @@ sc() { find ~/.config/* ~/.local/bin/* -type f | fzf | xargs -r $EDITOR ;}
 | 
			
		||||
sd() { find ~/ownCloud/* -type f | grep ".pdf" | fzf | xargs -r $READER ;}
 | 
			
		||||
 | 
			
		||||
# git
 | 
			
		||||
alias texhandout="cp ~/gitrepos/Tools/LaTeX\ Templates/LaTeX\ Handout/Handout.tex"
 | 
			
		||||
texhandout() { 
 | 
			
		||||
	[[ -z $1 ]] && echo "missing argument: filename (no ending)" && return 1
 | 
			
		||||
	cp ~/gitrepos/Tools/LaTeX\ Templates/LaTeX\ Handout/Handout.tex $1.tex && xelatex $1.tex  
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
# grep
 | 
			
		||||
alias grep="grep --color=auto"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user