File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ GPGKEY=''
1818GPG_OPTS=" --quiet --yes --compress-algo=none --no-encrypt-to"
1919GPG=" gpg"
2020SHREDCMD=" rm"
21- EDITOR=" ${EDITOR:- vi } "
21+ EDITOR=" ${EDITOR:- nano } "
2222PAGER=" ${PAGER:- more} "
2323# SHREDCMD="shred"
2424
@@ -233,14 +233,14 @@ note_rename () {
233233 newname=" ` echo ${newname} | tr ' ' ' _' ` "
234234
235235 case $notefile in
236- * gpg) skip;;
237- * ) notefile=" ${notefile} .gpg"
236+ * gpg) skip;;
237+ * ) notefile=" ${notefile} .gpg"
238238 esac
239239
240240 newnotefile=" ${USE_POINTER} /${newname} "
241241 case $newnotefile in
242- * gpg) skip;;
243- * ) newnotefile=" ${newnotefile} .gpg"
242+ * gpg) skip;;
243+ * ) newnotefile=" ${newnotefile} .gpg"
244244 esac
245245
246246 case $MVCP in
@@ -357,7 +357,7 @@ NOTES MANAGEMENT:
357357 notes rename|mv note_title rename a note (will prompt for new name)
358358 notes copy|cp note_title copy a note (will prompt for new name)
359359 notes delete|rm note_title delete a note
360- notes edit|ed note_title edit a note
360+ notes edit|ed note_title edit a note in default editor
361361
362362NOTEBOOK MANAGEMENT:
363363
@@ -387,15 +387,15 @@ cmd_view () {
387387 exit 1
388388 fi
389389 case $PROGRAM in
390- " notes" ) note_view $myoptions ;;
390+ " notes" ) note_view $myoptions ;;
391391 " notebook" ) cmd_usage;;
392392 esac
393393}
394394
395395cmd_show () {
396396 myoptions=" $@ "
397397 case $PROGRAM in
398- " notes" ) note_list $myoptions ;;
398+ " notes" ) note_list $myoptions ;;
399399 " notebook" ) notebook_list $myoptions ;;
400400 esac
401401}
You can’t perform that action at this time.
0 commit comments