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

I don't know about bash, but zsh allows you to define a shell function "zshaddhistory" which is running right before a command is executed.



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

Search: