From c231a2394f59a691edb3d2daf9d9aefe5fce19da Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Mon, 19 Apr 2021 14:40:44 -0700 Subject: 48617: fix misuse of IGNORE_BRACES when initializing debug_indent --- Completion/Base/Widget/_complete_debug | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/Base/Widget/_complete_debug b/Completion/Base/Widget/_complete_debug index 85a0f372a..94fd4accd 100644 --- a/Completion/Base/Widget/_complete_debug +++ b/Completion/Base/Widget/_complete_debug @@ -14,7 +14,11 @@ integer debug_fd=-1 exec {debug_fd}>&2 2>| $tmp fi - local -a debug_indent; debug_indent=( '%'{3..20}'(e. .)' ) + local -a debug_indent + () { + setopt localoptions no_ignorebraces + debug_indent=( '%'{3..20}'(e. .)' ) + } local PROMPT4 PS4="${(j::)debug_indent}+%N:%i> " setopt xtrace : $ZSH_NAME $ZSH_VERSION -- cgit 1.4.1