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:
25
functions/w_conf.sns.sh
Normal file
25
functions/w_conf.sns.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
function w_conf {
|
||||
cat > $HOME/.sns/sns.conf << EOF
|
||||
#==========================================================
|
||||
# Simple Note System Config, v2.0a1
|
||||
# Copyright 2014, Xenese Labs/Sicron-Perion XNF
|
||||
#==========================================================
|
||||
|
||||
#Directory where notes will be stored
|
||||
ROOTDIR=$HOME/.sns
|
||||
BASEDIR=$ROOTDIR/notes
|
||||
|
||||
#File extension to use (for listing notes)
|
||||
EXT=note
|
||||
|
||||
#Preferred Editor
|
||||
EDITOR=vim
|
||||
|
||||
#Encryption
|
||||
#WARNING: ANY PREVIOUSLY UNENCRYPTED NOTES WILL BE LOST
|
||||
ENCRYPTION="FALSE"
|
||||
ENC_KEY=""
|
||||
EOF
|
||||
|
||||
chmod 600 $ROOTDIR/sns.conf
|
||||
}
|
||||
Reference in New Issue
Block a user