From cfc06203e7ad7707acadd160292d47b25d6daba6 Mon Sep 17 00:00:00 2001 From: Kevin Ballard Date: Thu, 2 Oct 2014 15:59:24 -0700 Subject: Add new `functions` flag -V/--inherit-variable --inherit-variable takes a variable name and snapshots its current value. When the function is executed, it will have a local variable with this value already defined. Printing the function source will include synthesized `set -l` lines for the values. This is primarily useful for functions that are created on the fly, such as in `psub`. --- tests/function.err | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/function.err (limited to 'tests/function.err') diff --git a/tests/function.err b/tests/function.err new file mode 100644 index 00000000..e69de29b -- cgit v1.2.3