aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2024-01-18 13:25:46 -0800
committerKaz Kylheku <kaz@kylheku.com>2024-01-18 13:25:46 -0800
commit5f07a27b7e0f44c2f1fec70165a13eb6f0c72408 (patch)
tree07318d18b1e99e3af1f9947d6d054f090a0597b0
parentd8a3bf2bf8c6783432f2ad3fd1e6c23113d455ed (diff)
downloadcdlog-5f07a27b7e0f44c2f1fec70165a13eb6f0c72408.tar.gz
cdlog-5f07a27b7e0f44c2f1fec70165a13eb6f0c72408.tar.bz2
cdlog-5f07a27b7e0f44c2f1fec70165a13eb6f0c72408.zip
README: mention exporting advantage.
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index b6004b3..8e163f7 100644
--- a/README.md
+++ b/README.md
@@ -70,6 +70,10 @@ tabs engage further completion.
* Bash's `direxpand` option does not work for `~-n` notation. Completion
works, but the notation remains unexpanded.
+* `cdlog`'s data, consisting purely of variables, can be passed to a child
+process so that the log is available in a subshell. Just execute `export c1 c2
+c3 c4 c5 c6 c7 c8 c9 x y z w`.
+
* Most of `cdlog` is portable to other shells. All that is nonportable
in the code is the use of `local`, and the `shopt -o direxpand` command.