$funcfiletrace
–
Absolute Line Number and File Name of the Current Call
$funcfiletrace
contains the absolute line numbers and file names of the current call location.
It’s available for functions, sourced files and eval
commands (if EVAL_LINENO
is set).
The alternative $funcsourcetrace
contains relative line numbers, which makes it less useful for most use cases.
Links
BashSupport Pro is a Zsh IDE with support for $funcfiletrace – try it now!