From 459d72f17167ac80331d940dbb77cbb85fe8f935 Mon Sep 17 00:00:00 2001 From: Yakov Gellert <68142933+novusnota@users.noreply.github.com> Date: Mon, 19 Apr 2021 10:03:33 +0200 Subject: [PATCH] (2.1.0) Stable minor release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Removed config.sh from tracking. Instead added an config.example.sh for you to tweak to your liking. When ready, just rename it to 'config.sh' --- .gitignore | 1 + config.sh => config.example.sh | 3 --- notes.sh | 4 +++- 3 files changed, 4 insertions(+), 4 deletions(-) rename config.sh => config.example.sh (86%) diff --git a/.gitignore b/.gitignore index c7f204c..574d013 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ template +config.sh diff --git a/config.sh b/config.example.sh similarity index 86% rename from config.sh rename to config.example.sh index a1d5838..2b483ca 100755 --- a/config.sh +++ b/config.example.sh @@ -21,6 +21,3 @@ export C_NOTES_FORMAT="md" # (optional) A /path/to/template file for the new notes export C_NOTES_TEMPLATE="template" -# (CHANGE ONLY IF YOU KNOW, WHAT YOU'RE DOING) Export args, if any -test "${#}" -ne 0 && export "${@}" - diff --git a/notes.sh b/notes.sh index 1f3937e..a07df55 100755 --- a/notes.sh +++ b/notes.sh @@ -7,7 +7,7 @@ # # # "#m#" "mm "#mm" "mmm" # "mmm" # # # # See: https://github.com/novusnota/notes.sh -# Version: 2.0.5 +# Version: 2.1.0 # # Create a dated text file at a specific location and append text to it. # @@ -40,6 +40,8 @@ # # Customization: # Set the variables of config.sh to your liking. +# For your ease of use, there is already an config.example.sh — +# just rename it to config.sh and you're good to go! # # C_NOTES_DIR (/path/to/notes/directory) — Top-level directory for all the notes #