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.
32 lines
651 B
32 lines
651 B
in_lab=false
|
|
cd_school="d ~/Documents/School/notes";
|
|
if [ $(whoami) == "mokkar" ]; 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"
|
|
alias rml="rm *.aux *.log *.pdf"
|
|
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 136l="$cd_school/136/lecture"
|
|
alias pr2="$cd_school/136/par/2"
|