summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2018-01-18 09:39:08 +0000
committerPeter Stephenson <pws@zsh.org>2018-01-18 09:39:08 +0000
commitb816291a1796f13737424cd14d2ba174cf840f70 (patch)
tree9075c1bc7d037e297e0e8e6c55a636bdc1b6caaa
parentd8d9fee137a5aa2cf9bf8314b06895bfc2a05518 (diff)
downloadzsh-b816291a1796f13737424cd14d2ba174cf840f70.tar.gz
zsh-b816291a1796f13737424cd14d2ba174cf840f70.zip
42294: disable REPORTTIME in completion
-rw-r--r--ChangeLog4
-rw-r--r--Completion/compinit4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c1926df1e..64cea87a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-01-18 Peter Stephenson <p.stephenson@samsung.com>
+
+ * 42294: Completion/compinit: disable REPORTTIME in completion.
+
2018-01-16 Peter Stephenson <p.stephenson@samsung.com>
* Warepire: Src/prompt.c: off by one fix in multiline prompts.
diff --git a/Completion/compinit b/Completion/compinit
index c345ceb43..f0f8421df 100644
--- a/Completion/compinit
+++ b/Completion/compinit
@@ -175,7 +175,9 @@ typeset -gH _comp_setup='local -A _comp_caller_options;
exec </dev/null;
trap - ZERR;
local -a reply;
- local REPLY'
+ local REPLY;
+ local REPORTTIME;
+ unset REPORTTIME'
# These can hold names of functions that are to be called before/after all
# matches have been generated.