- alias files: - 209: Split from school because was getting too long. - my_pc: Stores common aliases between laptop and desktop. - Can now have different Terminator configurations for each computer. - egc alias: Loads commit message buffer into Vim with text width of 72 and syntax highlighting.
32 lines
602 B
Plaintext
32 lines
602 B
Plaintext
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"
|