From 36604c95d27c0c6d2297354d8826070729592aa5 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Tue, 28 Sep 2021 23:38:33 -0400 Subject: [PATCH] Context: Document the availability of environment variables in the taskrc --- src/Context.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Context.cpp b/src/Context.cpp index 321ffd8db..2ab237e28 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -67,6 +67,10 @@ std::string configurationDefaults = "# variable= -- By specifying no value, this means no default\n" "# #variable=foo -- By commenting out the line, or deleting it, this uses the default\n" "\n" + "# You can also refence environment variables:\n" + "# variable=$HOME/task\n" + "# variable=$VALUE\n" + "\n" "# Use the command 'task show' to see all defaults and overrides\n" "\n" "# Files\n"