about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@ipost.com>2021-04-20 17:11:37 -0700
committerBart Schaefer <schaefer@ipost.com>2021-04-20 17:11:37 -0700
commitb68a7421bd7d6bbcde6d282a56b38c30894449d5 (patch)
tree39bbc3b287b7f122852f456ea8154a57ce3c973f
parentb110d6d5afe2c8529799b4ebd433399f080bcdf0 (diff)
downloadzsh-b68a7421bd7d6bbcde6d282a56b38c30894449d5.tar.gz
zsh-b68a7421bd7d6bbcde6d282a56b38c30894449d5.tar.xz
zsh-b68a7421bd7d6bbcde6d282a56b38c30894449d5.zip
48638: mention TYPESET_TO_UNSET in NEWS
-rw-r--r--ChangeLog4
-rw-r--r--NEWS6
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 01f1eeb4e..429a258ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-04-20  Bart Schaefer  <schaefer@zsh.org>
+
+	* 48638: NEWS: mention TYPESET_TO_UNSET
+
 2021-04-20  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 48435 (tweaked): Doc/Zsh/contrib.yo, Misc/vcs_info-examples:
diff --git a/NEWS b/NEWS
index cf270ff51..ee97868f9 100644
--- a/NEWS
+++ b/NEWS
@@ -35,6 +35,12 @@ widgets.  This corresponds to long-standing behavior of other user ZLE
 widgets.  Use the _complete_debug widget to capture XTRACE output, or
 use "functions -T" to enable tracing of specific completion functions.
 
+With the new TYPESET_TO_UNSET option set, "typeset foo" leaves foo unset,
+in contrast to the default behavior which assigns foo="".  Any parameter
+attributes such as numeric type, sorting, and padding are retained until
+the parameter is explicitly unset or a conflicting value is assigned.
+This is similar to default behavior of bash and ksh.
+
 Changes from 5.7.1-test-3 to 5.8
 --------------------------------