1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-18 14:06:03 +02:00

48617: fix misuse of IGNORE_BRACES when initializing debug_indent

This commit is contained in:
Bart Schaefer 2021-04-19 14:40:44 -07:00
parent 5fdd98552d
commit c231a2394f
2 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2021-04-19 Bart Schaefer <schaefer@zsh.org>
* 48617: Completion/Base/Widget/_complete_debug: fix misuse of
IGNORE_BRACES when initializing debug_indent
* 47489: Functions/Misc/colors: rename standout as italic
2021-04-19 Oliver Kiddle <opk@zsh.org>

View File

@ -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