about summary refs log tree commit diff
path: root/Completion/Base/Widget/_complete_debug
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2014-09-03 00:24:29 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2014-09-03 00:24:29 -0700
commit6d9635b0bd3c5e0a2445b01b40727ec295863d00 (patch)
tree893ec99c3dbbd6dc5f388cb0fec3c67b71d9c37c /Completion/Base/Widget/_complete_debug
parent7c7f00e6b1b0b2788eed535a9bfb6d42ac07b24a (diff)
downloadzsh-6d9635b0bd3c5e0a2445b01b40727ec295863d00.tar.gz
zsh-6d9635b0bd3c5e0a2445b01b40727ec295863d00.tar.xz
zsh-6d9635b0bd3c5e0a2445b01b40727ec295863d00.zip
33088: indentation in $PS4
Diffstat (limited to 'Completion/Base/Widget/_complete_debug')
-rw-r--r--Completion/Base/Widget/_complete_debug2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Base/Widget/_complete_debug b/Completion/Base/Widget/_complete_debug
index eff0f8e28..604486376 100644
--- a/Completion/Base/Widget/_complete_debug
+++ b/Completion/Base/Widget/_complete_debug
@@ -12,6 +12,8 @@ integer debug_fd=-1
     exec {debug_fd}>&2 2>| $tmp
   fi
 
+  local -a debug_indent; debug_indent=( '%'{3..20}'(e. .)' )
+  local PROMPT4 PS4="${(j::)debug_indent}+%N:%i> "
   setopt xtrace
   : $ZSH_NAME $ZSH_VERSION
   ${1:-_main_complete}