Dotfiles for my tiling window manager + terminal workflow.
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.

45 lines
883 B

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. # system
  2. alias c="clear"
  3. shopt -s dotglob
  4. alias reb="sudo shutdown -r 0"
  5. alias sd="sudo shutdown 0"
  6. alias s="systemctl suspend"
  7. # directories
  8. alias cdr="cd ~/../../"
  9. alias cdd="cd ~/Downloads"
  10. alias 221="cd ~/Documents/School/221"
  11. alias mt="okular ~/Documents/School/221/Textbook.pdf"
  12. alias mlt="okular ~/Downloads/Textbook.pdf"
  13. # 258 (lab)
  14. alias p2="cd ~/258/258-labs-self/l5/p2"
  15. alias l5="cd ~/258/258-labs-self/l5"
  16. alias lab="cd ~/258/258-labs-self"
  17. # config
  18. alias vb="gvim ~/.bash_aliases"
  19. alias vv="gvim ~/.vimrc"
  20. alias rba=". ~/.bashrc"
  21. # git
  22. . ~/.secure
  23. alias gs="git status"
  24. alias gpl="git pull"
  25. alias gps="git push"
  26. alias vig="vi .gitignore"
  27. alias ga="git add *"
  28. alias gai="git add .gitignore"
  29. alias gd="git diff"
  30. alias gdc="git diff --cached"
  31. alias gstore="git config credential.helper store"
  32. gc(){
  33. git commit -m "$1"
  34. }
  35. g(){
  36. gvim $1
  37. }
  38. rs(){
  39. redshift -O $1
  40. }