X-Git-Url: https://git.danix.xyz/?p=bash-notes.git;a=blobdiff_plain;f=SOURCE%2FCORE%2Fcore-list.sh;h=6ab2896a7feb8fbc494087b7bc43d6bf2b4ef77a;hp=17349cdb41b157dbf482a6bd7ab239e8edbd9b9d;hb=cf6d89bcf906ba72560847cb804646b9cd8d99b4;hpb=b1e2a0183a9b5b587968f2ab77ac5952331d1972 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