Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 Fall 2025 batch! Applications are open till Aug 4

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

Search: