$ltimer

From Scriptwiki
Revision as of 23:35, 25 November 2005 by Doomie (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the number or name of the last timer that was started.

$ltimer

Example

alias timertest {
 timerfoo 1 10 { echo -a moo }
 echo -a $ltimer
}

This alias will at first create a new timer called foo and then echo the name of the last created time to the active window. This is of course foo.