diff options
| author | danix <danix@danix.xyz> | 2023-04-14 10:45:52 +0200 |
|---|---|---|
| committer | danix <danix@danix.xyz> | 2023-04-14 10:45:52 +0200 |
| commit | cf6d89bcf906ba72560847cb804646b9cd8d99b4 (patch) | |
| tree | 6289ed3edb8a5813395ec1f6d04bc51a81f3a7ff /SOURCE/CORE/core-list.sh | |
| parent | b1e2a0183a9b5b587968f2ab77ac5952331d1972 (diff) | |
| download | bash-notes-cf6d89bcf906ba72560847cb804646b9cd8d99b4.tar.gz bash-notes-cf6d89bcf906ba72560847cb804646b9cd8d99b4.zip | |
sync operations now check for last sync before running again. It's possible to set a delay between sync operations.
Diffstat (limited to 'SOURCE/CORE/core-list.sh')
| -rw-r--r-- | SOURCE/CORE/core-list.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
