Hello, if I do
functions -t funcname
inside a function (even with emulate -L zsh) the function funcname is traced even after I exit the enclosing function, eg:
trace_funcname(){
emulate -L zsh
functions -t funcname
funcname
}
> trace_funcname
funcname is executed and traced
> funcname
funcname is executed and traced (but I was expecting no tracing here)
is this expected behaviour and how can I disable the tracing after trace_funcname has exited without using functions +t funcname manually, if is possible?
thanks