- May
- 13,199
- 180
Charles, Rex, anyone, do you think this is possible with a keystroke handler plugin?
... put a timestamp at the end of a command line ... on the same line ... maybe, upon <Enter>, put the timestamp on the command line after the current position, without altering the current position, and leaving the <Enter> (or NUL) in place. That could get messy with multi-line commands.
Do you think it could be done with PRE_EXEC? I tried
but it gets it's own line.
... put a timestamp at the end of a command line ... on the same line ... maybe, upon <Enter>, put the timestamp on the command line after the current position, without altering the current position, and leaving the <Enter> (or NUL) in place. That could get messy with multi-line commands.
Do you think it could be done with PRE_EXEC? I tried
Code:
alias pre_exec `echos %_time`