mcfly icon indicating copy to clipboard operation
mcfly copied to clipboard

Feature Request: Show timestamp of command

Open bowiz2 opened this issue 3 years ago • 1 comments

Hey!

So mcfly saves the timestamp of each run command, and it would be useful if there was a flag/env var that enabled showing the last time you ran a command in your shell history.

Or, alternatively, a history style command for mcfly that would output the timestamp + command in a friendly less-able way.

It's possible right now to query sqlite and run something like select cmd,datetime(when_run, 'unixepoch', 'localtime') from commands where cmd LIKE "%the_command%";, but a more user friendly solution would be super useful.

Hope others think this useful and someone is motivated to develop it 😄

bowiz2 avatar Dec 15 '21 12:12 bowiz2

You'd be welcome to add a mcfly subcommand for this feature!

cantino avatar Dec 16 '21 00:12 cantino