40 lines
911 B
Plaintext
40 lines
911 B
Plaintext
# short-hand
|
|
alias ml="mpc listall"
|
|
alias gre="grep"
|
|
alias rmr="rm -r"
|
|
alias rmrt="rm -r *"
|
|
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 pp="poweroff"
|
|
|
|
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 "
|
|
alias cim="vim "
|
|
|
|
# and config file shortcuts
|
|
alias vimc="vim ~/.vimrc"
|
|
alias vv="vim ~/.vimrc"
|
|
alias zz="vim ~/.zshrc && source ~/.zshrc"
|
|
alias al='vim ~/.shell_aliases && source ~/.shell_aliases'
|
|
|
|
# Sudo McDoDoh
|
|
alias pacman='sudo pacman'
|
|
alias mount='sudo mount'
|
|
alias umount='sudo umount'
|
|
alias fuck='sudo $(fc -ln -1)'
|