removed the 'function' keyword before declaring a function as is not needed.
[bash-notes.git] / SOURCE / CORE / core-list.sh
index 0580df3..17349cd 100644 (file)
@@ -1,4 +1,4 @@
-function listnotes() {
+listnotes() {
        # [ $PLAIN == true ] && echo "output is plain text" || echo "output is colored"
        if [[ $(ls -A "$NOTESDIR") ]]; then
                if [ $PLAIN == false ]; then