dotfiles/.shell_aliases

37 lines
822 B
Plaintext
Raw Normal View History

2020-02-09 12:29:17 -05:00
alias fuck='sudo $(fc -ln -1)'
# short-hand
alias ml="mpc listall"
alias gre="grep"
alias rmr="rm -r"
alias rmrt="rm -r *"
alias echn="echo nah > nah"
alias gv="grep -v"
alias lsg="ls | grep"
alias pgrep="ps aux | grep -v grep | grep"
alias sql="mysql -u vaillanc --password='rdc52ty5' -h dbsrv2.cs.fsu.edu vaillancdb"
alias sshfsu="ssh -YC $fsu"
# sanity adjustments
alias free="free -h"
alias rmlint="rmlint -L"
alias mkdir="mkdir -p"
alias du="du -sh"
alias df="df -h | grep -v tmpfs | grep -v ^dev | grep -v ^run"
alias py="python"
alias quota="quota -s"
# vim aliases
alias vi="vim "
alias vim="vim "
alias bim="vim "
# and config file shortcuts
alias vimc="vim ~/.vimrc"
alias zshc="vim ~/.zshrc"
alias zshrc="vim ~/.zshrc"
alias al='vim ~/.shell_aliases && source ~/.shell_aliases'
alias pacman='sudo pacman'