On Sep 3, 1:53am, Oliver Kiddle wrote: } } > + local -a debug_indent; debug_indent=( '%'{3..20}'(e. .)' ) } > + local PROMTP4 PS4="${(j::)debug_indent}+%N:%i> " } } Note the typo for PROMPT4. Thanks for noticing that. I'm not sure PROMPT4 needs to be declared there anyway, but given the alter ego I it might be a good idea.