Hacker News new | past | comments | ask | show | jobs | submit login

I have this in my "~/.inputrc":

".,d": "\C-adate; \C-e; date\n"

Whenever I want a command dated like in your suggestion, instead of pressing Enter to execute the command, I press the key-sequence ".,d" and the command gets wrapped in 'date' calls.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: