function list(){ # This function, given a folder, $NOTE, will list the contents of $NOTE. ls "$NOTES_DIR/${NOTE%.*}" }