sync operations now check for last sync before running again. It's possible to set...
[bash-notes.git] / SOURCE / CORE / core-list.sh
index 17349cd..6ab2896 100644 (file)
@@ -1,4 +1,6 @@
 listnotes() {
+       # attempt syncing before listing all notes
+       gitsync
        # [ $PLAIN == true ] && echo "output is plain text" || echo "output is colored"
        if [[ $(ls -A "$NOTESDIR") ]]; then
                if [ $PLAIN == false ]; then