1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-28 14:07:46 +01:00

cleaning up fzf commands

This commit is contained in:
tiynger 2019-10-02 20:00:08 +02:00
parent 09efe99304
commit e127c5e1f9

View File

@ -26,8 +26,8 @@ alias c="clear"
alias config="/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME"
# fzf
sc() { du -a ~/.config/* ~/.local/bin/* | awk '{print $2}' | fzf | xargs -r $EDITOR ;}
sd() { du -a ~/ownCloud/* | awk '{print $2}' | grep ".pdf" | fzf | xargs -r $READER ;}
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 ~/github/Tools/LaTeX\ Templates/LaTeX\ Handout/Handout.tex"