$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 ist eine Zsh IDE mit Unterstützung für $funcfiletrace - probieren Sie es jetzt aus!