summary refs log tree commit diff
diff options
context:
space:
mode:
-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.