@XHISTORY[line, arg] : Return the matching XHISTORY line or field.

 

line - the # of the line to return. The most recent XHISTORY entry is line 0, the previous entry 1, etc.

 

arg - the XHISTORY argument to return:

 

0 - Timestamp

1 - Execution time

2 - Return code

3 - CWD

4 - Command