Fixed erroneous reference to former static ~/.sns BASEDIR
Added hook to actually delete a note if requested Removed old, commented code Simplified create and delete logic by removing unnecessary checks that make no sense to me now Cleaned up output from create event
This commit is contained in:
committed by
Jon-William Lewis
parent
337a1bf3a3
commit
35094aed04
@@ -24,7 +24,8 @@ fi
|
||||
NOTEDIR="$BASEDIR"/"$NOTEBOOK"/"$SECTION"/
|
||||
NOTE="$NOTEDIR""$NAME"."$EXT"
|
||||
|
||||
if [ "$ENCRYPTION" == "TRUE" ]; then NOTE=$NOTE.enc; fi
|
||||
if [ "$ENCRYPTION" == "TRUE" ]; then NOTE="$NOTE".enc; 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
|
||||
Reference in New Issue
Block a user