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.

31 lines
615 B

  1. in_lab=false
  2. cd_school="d ~/Documents/School/notes";
  3. if [ $(whoami) == "mokkar" ]; then
  4. TERM=xterm-256color
  5. xmodmap -e "clear Lock"
  6. in_lab=true
  7. cd_school="d ~";
  8. fi
  9. if $in_lab; then
  10. ff() { firefox $1 ; }
  11. zip() { tar -zcvf $1.tar.gz $1/ ; }
  12. alias nau="nautilus ."
  13. fi
  14. # general
  15. alias sch="$cd_school"
  16. alias 236="$cd_school/236"
  17. alias psy="$cd_school/psy"
  18. alias rml="rm *.aux *.log *.pdf"
  19. pdl() { pdflatex $1 ; }
  20. cptp() {
  21. cp *template.tex cp-template.tex
  22. chmod 600 cp-template.tex
  23. date=`date +%-m-%d`
  24. mv cp-template.tex "$date".tex
  25. }
  26. # 136
  27. alias 136="$cd_school/136"
  28. alias pr2="$cd_school/136/par/2"