Added in 2.4
$calias
Returns the calling alias for the current script,
alias test1 {
echo -ag Calling alias is $calias
noop $test2
}
alias test2 {
echo -ag Calling alias is still $calias
noop $test3
}
alias test3 {
echo -ag Calling alias is still $calias
}