From 5f07a27b7e0f44c2f1fec70165a13eb6f0c72408 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 18 Jan 2024 13:25:46 -0800 Subject: README: mention exporting advantage. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) 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. -- cgit v1.2.3