diff options
author | Bart Schaefer <schaefer@ipost.com> | 2021-04-19 14:40:44 -0700 |
---|---|---|
committer | Bart Schaefer <schaefer@ipost.com> | 2021-04-19 14:40:44 -0700 |
commit | c231a2394f59a691edb3d2daf9d9aefe5fce19da (patch) | |
tree | a23823759ca66336b8f251746cc0e96e9c482b04 /Completion/Base | |
parent | 5fdd98552d2cdc7727eb29f75b53da73b39dee4b (diff) | |
download | zsh-c231a2394f59a691edb3d2daf9d9aefe5fce19da.tar.gz zsh-c231a2394f59a691edb3d2daf9d9aefe5fce19da.tar.xz zsh-c231a2394f59a691edb3d2daf9d9aefe5fce19da.zip |
48617: fix misuse of IGNORE_BRACES when initializing debug_indent
Diffstat (limited to 'Completion/Base')
-rw-r--r-- | Completion/Base/Widget/_complete_debug | 6 |
1 files changed, 5 insertions, 1 deletions
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 |