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
602 B

  1. in_lab=false
  2. cd_school="d ~/Documents/School";
  3. if [ -d "/h/u3/c7/" ]; 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. pdl() { pdflatex $1 ; }
  19. cptp() {
  20. cp template.tex cp-template.tex
  21. chmod 600 cp-template.tex
  22. date=`date +%-m-%d`
  23. mv cp-template.tex "$date".tex
  24. }
  25. # 136
  26. alias 136="$cd_school/136"
  27. alias 136n="$cd_school/136/notes"
  28. alias pr2="$cd_school/136/par/2"