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.

44 lines
805 B

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