v2.0a3 -> v2.0a4
Rearranged tree to be more sane. Made formatting changes to stage 2. Fixed a bug where edit would be bypassed if the note was just created.
This commit is contained in:
@@ -1,7 +1,19 @@
|
||||
function init_default_config() {
|
||||
if [ -z "$ROOTDIR" ]; then
|
||||
ROOTDIR=$HOME/.sns
|
||||
fi
|
||||
if [ -z "$BASEDIR" ]; then
|
||||
BASEDIR=$ROOTDIR/notes
|
||||
fi
|
||||
if [ -z "$EXT" ]; then
|
||||
EXT=note
|
||||
fi
|
||||
if [ -z "$EDITOR" ]; then
|
||||
EDITOR=vim
|
||||
fi
|
||||
if [ -z "$ENC_KEY" ]; then
|
||||
ENCRYPTION="FALSE"
|
||||
else
|
||||
ENCRYPTION="TRUE"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user