Copied bash scripts and fixed shebangs
This commit is contained in:
27
zsh/school
Normal file
27
zsh/school
Normal file
@ -0,0 +1,27 @@
|
||||
#!/bin/zsh
|
||||
# -------------------------------------
|
||||
# -- School (Fall 2019) -------------
|
||||
# -------------------------------------
|
||||
|
||||
alias school="cd $SCHOOL_DIR";
|
||||
alias classes="cat $SCHOOL_DIR/.classes";
|
||||
|
||||
alias cs5680='school; cd cs5680__computer_vision';
|
||||
alias compvis='cs5680'
|
||||
alias cs5600='school; cd cs5600__intelligent_systems';
|
||||
alias intsys='cs5600'
|
||||
alias engr3080='school; cd engr3080__tech_writing';
|
||||
alias techwrit='engr3080'
|
||||
alias phil1120='school; cd phil1120__social_ethics';
|
||||
alias socioet='phil1120'
|
||||
|
||||
|
||||
HW_TEMPLATE="$DOTWRYN/latex/homework_template.tex"
|
||||
function hw() {
|
||||
# Make new homework .tex from default template
|
||||
[ ! $1 ] && echo "Homework filename required" && exit 1;
|
||||
|
||||
NEW_HW="./$1.tex";
|
||||
[ ! -f $NEW_HW ] && cp $HW_TEMPLATE $NEW_HW;
|
||||
vim $NEW_HW;
|
||||
}
|
Reference in New Issue
Block a user