From ca4f9a82576888e9a6eef665d95df0423a8ea017 Mon Sep 17 00:00:00 2001 From: Steven Saus Date: Sun, 21 Nov 2021 10:50:27 -0500 Subject: [PATCH] Note about the export not necessarily getting passed in a subshell --- README.md | 1 + yad-todo.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index e082bbd..63db8af 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ or inaccurate! Uses [yad](https://smokey01.com/yad/) to present a simple GUI for adding entries to todo.txt file. See the yad-todo.png file for what it might look like. +If the program is not running, ensure that it is getting the `todo.txt` file passed to it! ## kpf.sh diff --git a/yad-todo.sh b/yad-todo.sh index bff4304..579cf66 100755 --- a/yad-todo.sh +++ b/yad-todo.sh @@ -8,6 +8,9 @@ # First argument is the path to todo.txt if it's not already exported # as TODO_FILE. Simply designed for quick entry. # +# If the program is not running, ensure that it is getting the todo.txt +# file passed to it! +# ######################################################################## ToDoTxtFile="$1"