Sweeping refinements and formatting changes
This commit is contained in:
@@ -13,8 +13,6 @@ if [ -z "$NOTE" ]; then
|
||||
exit 30
|
||||
fi
|
||||
|
||||
NOTE_DIR="$NOTES_DIR"/"$NOTEBOOK"/"$SECTION"
|
||||
|
||||
if [ "$ENCRYPTION" == "TRUE" ]; then
|
||||
SESSION_ID="$RANDOM" #SESSION_ID later becomes the temporary filename
|
||||
readonly NOTE="$NOTE.$EXT.gpg"
|
||||
@@ -22,12 +20,11 @@ else
|
||||
readonly NOTE="$NOTE.$EXT"
|
||||
fi
|
||||
|
||||
if [ "$LIST" == "TRUE" ]; then list; exit 0; fi
|
||||
if [ "$PRINT" == "TRUE" ]; then print; exit 0; fi
|
||||
if [ "$LIST" == "TRUE" ]; then list ; exit 0; fi
|
||||
if [ "$PRINT" == "TRUE" ]; then print ; exit 0; fi
|
||||
if [ "$DELETE" == "TRUE" ]; then delete; exit 0; fi
|
||||
if [ "$CREATE" == "TRUE" ]; then create; fi
|
||||
if [ "$EDIT" == "TRUE" ]; then edit; fi
|
||||
|
||||
if [ "$EDIT" == "TRUE" ]; then edit ; fi
|
||||
#==============================================================================
|
||||
# End Section: Actions / Stage 3
|
||||
#==============================================================================
|
||||
|
||||
Reference in New Issue
Block a user