about summary refs log tree commit diff
path: root/README
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2016-10-24 07:14:39 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2016-10-24 07:14:39 -0700
commit0f5e670cde5f844680a20f986786249dfe983584 (patch)
treef912a4991610294666f2ec708dff1d87a58ea0b5 /README
parent71dd0ab62ecf67e3a4a60749e9f5b1cfc9ac0ec4 (diff)
downloadzsh-0f5e670cde5f844680a20f986786249dfe983584.tar.gz
zsh-0f5e670cde5f844680a20f986786249dfe983584.tar.xz
zsh-0f5e670cde5f844680a20f986786249dfe983584.zip
"typeset -p" uses "export" commands or the "-g" option for parameters that are not local to the current scope
Diffstat (limited to 'README')
-rw-r--r--README5
1 files changed, 5 insertions, 0 deletions
diff --git a/README b/README
index ed2183d8d..1a2e73936 100644
--- a/README
+++ b/README
@@ -110,6 +110,11 @@ possible to return a non-zero status to the parent shell from a command
 executed as a replacement, and the new implementation is more consistent
 with other shells.
 
+7) The output of "typeset -p" (and synonyms) now takes into account the
+function scope and export state of each parameter.  Exported parameters
+are output as "export" commands unless the parameter is also local, and
+other parameters not local to the scope are output with the "-g" option.
+
 Incompatibilities between 5.0.8 and 5.2
 ---------------------------------------