From cf6d89bcf906ba72560847cb804646b9cd8d99b4 Mon Sep 17 00:00:00 2001 From: danix Date: Fri, 14 Apr 2023 10:45:52 +0200 Subject: sync operations now check for last sync before running again. It's possible to set a delay between sync operations. --- SOURCE/CORE/core-list.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'SOURCE/CORE/core-list.sh') diff --git a/SOURCE/CORE/core-list.sh b/SOURCE/CORE/core-list.sh index 17349cd..6ab2896 100644 --- a/SOURCE/CORE/core-list.sh +++ b/SOURCE/CORE/core-list.sh @@ -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 -- cgit v1.2.3