mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
48617: fix misuse of IGNORE_BRACES when initializing debug_indent
This commit is contained in:
parent
5fdd98552d
commit
c231a2394f
2 changed files with 8 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue