Project

General

Profile

Actions

$calias » History » Revision 1

Revision 1/9 | Next »
Per Amundsen, 06/26/2016 05:56 PM


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
}

Updated by Per Amundsen almost 8 years ago · 1 revisions

Also available in: PDF HTML TXT