You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
805 B
44 lines
805 B
# system
|
|
alias bs="xmodmap -e \"clear Lock\""
|
|
alias c="clear"
|
|
shopt -s dotglob
|
|
alias reb="sudo shutdown -r 0"
|
|
alias sd="sudo shutdown 0"
|
|
alias slp="systemctl suspend"
|
|
|
|
# directories
|
|
alias cdr="cd ~/../../"
|
|
alias cdd="cd ~/Downloads"
|
|
alias 221="cd ~/Documents/School/221"
|
|
alias 221lt="okular ~/Downloads/Textbook.pdf"
|
|
|
|
alias p1="cd ~/258/258-labs-self/l5/p1"
|
|
alias l5="cd ~/258/258-labs-self/l5"
|
|
alias lab="cd ~/258/258-labs-self"
|
|
|
|
# config
|
|
alias vb="gvim ~/.bash_aliases"
|
|
alias vv="gvim ~/.vimrc"
|
|
alias rba=". ~/.bashrc"
|
|
|
|
# git
|
|
. ~/.secure
|
|
alias gs="git status"
|
|
alias gpl="git pull"
|
|
alias gps="git push"
|
|
alias vig="vi .gitignore"
|
|
alias ga="git add *"
|
|
alias gai="git add .gitignore"
|
|
alias gd="git diff"
|
|
alias gdc="git diff --cached"
|
|
gc(){
|
|
git commit -m "$1"
|
|
}
|
|
|
|
g(){
|
|
gvim $1
|
|
}
|
|
|
|
rs(){
|
|
redshift -O $1
|
|
}
|