zsh-users
 help / color / mirror / code / Atom feed
* functions -t
@ 2021-10-13  3:03 Pier Paolo Grassi
  2021-10-13  3:06 ` Pier Paolo Grassi
  0 siblings, 1 reply; 10+ messages in thread
From: Pier Paolo Grassi @ 2021-10-13  3:03 UTC (permalink / raw)
  To: Zsh-Users List

[-- Attachment #1: Type: text/plain, Size: 547 bytes --]

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

Pier Paolo Grassi

[-- Attachment #2: Type: text/html, Size: 1005 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-10-13 22:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-13  3:03 functions -t Pier Paolo Grassi
2021-10-13  3:06 ` Pier Paolo Grassi
2021-10-13  3:35   ` Bart Schaefer
2021-10-13  3:47     ` Bart Schaefer
2021-10-13 11:58       ` Pier Paolo Grassi
2021-10-13 18:42         ` Daniel Shahaf
2021-10-13 18:44           ` Pier Paolo Grassi
2021-10-13 19:48             ` Bart Schaefer
2021-10-13 20:11               ` Daniel Shahaf
2021-10-13 22:08                 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).