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.

58 lines
1.3 KiB

7 years ago
7 years ago
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 lc="cd ~/linux-config"
  23. alias vb="vi ~/.bash_aliases"
  24. alias vv="vi ~/.vimrc"
  25. alias rba=". ~/.bashrc"
  26. # git
  27. . ~/.secure
  28. alias gs="git status"
  29. alias gpl="git pull"
  30. alias gps="git push"
  31. alias vig="vi .gitignore"
  32. alias ga="git add *"
  33. alias gai="git add .gitignore"
  34. alias gd="git diff"
  35. alias gdc="git diff --cached"
  36. alias gstore="git config credential.helper store"
  37. gc(){
  38. git commit -m "$1"
  39. }
  40. # idea
  41. alias jh="echo $JAVA_HOME"
  42. alias jv="java -version"
  43. # alias idea=". ~/Desktop/idea.sh"
  44. # alias idea=". ~/usr/idea-IC-172.4343.14/bin/idea.sh"
  45. # alias jf="export JAVA_HOME=/home/kevin/usr/jdk1.8.0_151 && export PATH=$JAVA_HOME/bin:$PATH"
  46. g(){
  47. gvim $1
  48. }
  49. rs(){
  50. redshift -O $(($1 * 1000))
  51. }
  52. alias rx="redshift -x"