dotfiles/.shell_aliases

40 lines
911 B
Plaintext
Raw Normal View History

2020-02-09 12:29:17 -05:00
# 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"
2020-02-10 09:56:58 -05:00
alias pp="poweroff"
2020-02-09 12:29:17 -05:00
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 "
2020-02-09 12:47:55 -05:00
alias cim="vim "
2020-02-09 12:29:17 -05:00
# and config file shortcuts
alias vimc="vim ~/.vimrc"
2020-02-09 12:47:55 -05:00
alias vv="vim ~/.vimrc"
alias zz="vim ~/.zshrc && source ~/.zshrc"
2020-02-09 12:29:17 -05:00
alias al='vim ~/.shell_aliases && source ~/.shell_aliases'
2020-02-09 12:47:55 -05:00
# Sudo McDoDoh
2020-02-09 12:29:17 -05:00
alias pacman='sudo pacman'
2020-02-09 12:47:55 -05:00
alias mount='sudo mount'
alias umount='sudo umount'
alias fuck='sudo $(fc -ln -1)'