https://stackoverflow.com/questions/31426565/get-name-of-calling-function-in-zsh
bash
${FUNCNAME[1]}
is a (caller name)${FUNCNAME[0]}
is c (current name)
$funcstack
${funcstack[2]}
is a (caller name)${funcstack[1]}
is c (current name)
Search
https://stackoverflow.com/questions/31426565/get-name-of-calling-function-in-zsh
bash
${FUNCNAME[1]}
is a (caller name)${FUNCNAME[0]}
is c (current name)$funcstack
${funcstack[2]}
is a (caller name)${funcstack[1]}
is c (current name)