$script

From Scriptwiki
Revision as of 22:11, 6 April 2008 by Albie (talk | contribs) (forgot category)

Jump to: navigation, search

Returns the filename of the currently executing remote script.

$script

Example

alias hello {
  echo -ag We're running from script file $script
}

See Also

  • $scriptline Returns the current script line.
  • $scriptdir Returns the directory the current script is saved.