new finder commands

master
tiynger 5 years ago
parent 5c42db4d19
commit 3ab362ea8b

@ -28,15 +28,19 @@ alias c="clear && neofetch"
# config # config
alias config="/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME" 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}' | fzf | xargs -r $READER ;}
# git
alias TexHandout="cp ~/github/Tools/LaTeX\ Templates/LaTeX\ Handout/Handout.tex"
# grep # grep
alias grep="grep --color=auto" alias grep="grep --color=auto"
# lastpass # lastpass
alias lastpass="lpass" alias lastpass="lpass"
# latex
alias TexHandout="cp ~/github/Tools/LaTeX\ Templates/LaTeX\ Handout/Handout.tex"
# ls(d) # ls(d)
alias l="lsd" alias l="lsd"
alias la="lsd -la" alias la="lsd -la"
@ -66,22 +70,11 @@ alias rm="rm -i"
alias root="sudo -i" alias root="sudo -i"
alias su="sudo -i" alias su="sudo -i"
# vim # nvim
alias svim="sudo vim" alias svim="sudo nvim"
command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d"
# weather # weather
alias weather="curl wttr.in" alias weather="curl wttr.in"
# random
alias file="ranger"
alias files="ranger"
alias image="sxiv"
alias mail="neomutt"
alias music="mpv"
alias news="newsboat"
alias reddit="rtv"
alias table="sc-im"
alias text="vim"
alias video="mpv"

Loading…
Cancel
Save