Multiple updates : Iterm themes doc added, misspell aliases added, notes and homework functions added

This commit is contained in:
Wryn Wagner
2019-06-26 11:28:47 -06:00
parent 8dd986317b
commit feb68b143f
5 changed files with 140 additions and 1 deletions

13
bashrc
View File

@ -13,4 +13,15 @@ alias restart='clear; source ~/.bashrc; echo'
alias datereadable='date +"%A %B %d, %Y"'
# --- !@#$ Aliases --------------------------------------------
alias clera='clear'
alias clera='clear';
# --- Note-taking facilitated ---------------------------------
NOTE_PATH='/Users/w0ryn/Documents/notes';
NOTE_EXTENSION='.txt';
alias mynotes='cd $NOTE_PATH';
function note() { vim $NOTE_PATH/$1$NOTE_EXTENSION; }
function notes() { NOTE="$NOTE_PATH/$1$NOTE_EXTENSION"; [ -f $NOTE ] && vim $NOTE || vim $NOTE_PATH; }
# --- Homework facilitated ------------------------------------
HW_TEMPLATE="$RC_DIR/latex/homework_template.tex"
function hw() { [ $# -ne 0 ] && cp $HW_TEMPLATE ./$1.tex || echo "Homework filename required"; }