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.

56 lines
1.2 KiB

7 years ago
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 a2="cd ~/Documents/School/207/mokkar/a2"
  11. alias a2n="a2 && vi notes.txt"
  12. alias rcg="cd ~/Documents/coding/random-color-generator"
  13. # 221
  14. alias 221="cd ~/Documents/School/221"
  15. alias mt="okular ~/Documents/School/221/Textbook.pdf"
  16. alias mlt="okular ~/Downloads/Textbook.pdf"
  17. # 258 (lab)
  18. alias p2="cd ~/258/258-labs-self/l5/p2"
  19. alias l5="cd ~/258/258-labs-self/l5"
  20. alias lab="cd ~/258/258-labs-self"
  21. # config
  22. alias vb="vi ~/.bash_aliases"
  23. alias vv="vi ~/.vimrc"
  24. alias rba=". ~/.bashrc"
  25. # git
  26. . ~/.secure
  27. alias gs="git status"
  28. alias gpl="git pull"
  29. alias gps="git push"
  30. alias vig="vi .gitignore"
  31. alias ga="git add *"
  32. alias gai="git add .gitignore"
  33. alias gd="git diff"
  34. alias gdc="git diff --cached"
  35. alias gstore="git config credential.helper store"
  36. gc(){
  37. git commit -m "$1"
  38. }
  39. # idea
  40. alias jh="echo $JAVA_HOME"
  41. alias jv="java -version"
  42. # alias idea=". ~/Desktop/idea.sh"
  43. # alias idea=". ~/usr/idea-IC-172.4343.14/bin/idea.sh"
  44. # alias jf="export JAVA_HOME=/home/kevin/usr/jdk1.8.0_151 && export PATH=$JAVA_HOME/bin:$PATH"
  45. g(){
  46. gvim $1
  47. }
  48. rs(){
  49. redshift -O $(($1 * 1000))
  50. }