From 7a4b151a5ed2dc966d1d883162783e8ccda7f971 Mon Sep 17 00:00:00 2001 From: Dakota Chambers Date: Thu, 14 Feb 2019 09:33:20 -0600 Subject: [PATCH 1/2] Alter text printed to screen when overwriting an existing note. To be more verbose about the fact that it's still saving the file, it's just overwriting the existing file. --- note | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/note b/note index f897d6f..cd42206 100755 --- a/note +++ b/note @@ -7,7 +7,7 @@ create_note () { printf "$day-$month-$year\n---\n\n" > $note_path printf "Created new note: $note_path\n" else - printf "Note \"$note_path\" already exists.\n" + printf "Note \"$note_path\" already exists. Saving changes to existing file.\n" fi } From 96d96c3ba2bd860fff89a79eb2c8b5d39424e174 Mon Sep 17 00:00:00 2001 From: Dakota Chambers Date: Thu, 14 Feb 2019 09:35:53 -0600 Subject: [PATCH 2/2] Bump version to 0.3.4 and update CHANGELOG --- CHANGELOG.md | 4 ++++ note | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e77c329..6f5b223 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## v0.3.4 - 14 Feb 2019 +* Alter text printed to terminal when a user opens an existing note to be friendlier +and more informative. + ## v0.3.3 - 14 Feb 2019 * Fix a bug where vim opened in insert mode but didn't place cursor at end of file. diff --git a/note b/note index cd42206..27f68a4 100755 --- a/note +++ b/note @@ -23,7 +23,7 @@ print_info () { } print_help () { - printf "note - Note Keeper 0.3.3 (14 Feb 2019) + printf "note - Note Keeper 0.3.4 (14 Feb 2019) Usage: note [arguments]