in_lab=false cd_school="d ~/Documents/School"; if [ -d "/h/u3/c7/" ]; then TERM=xterm-256color xmodmap -e "clear Lock" in_lab=true cd_school="d ~"; fi if $in_lab; then ff() { firefox $1 ; } zip() { tar -zcvf $1.tar.gz $1/ ; } alias nau="nautilus ." fi # general alias sch="$cd_school" alias 236="$cd_school/236" alias psy="$cd_school/psy" pdl() { pdflatex $1 ; } cptp() { cp template.tex cp-template.tex chmod 600 cp-template.tex date=`date +%-m-%d` mv cp-template.tex "$date".tex } # 136 alias 136="$cd_school/136" alias 136n="$cd_school/136/notes" alias pr2="$cd_school/136/par/2"