Posted in 2022

Command Hooks with the zsh Shell

This post shows a small example how command hooks of the zsh shell can be used to print timestamps before and after a command execution. This can be helpful in postmortems of operations when it can be important to know exactly when you’ve seen a specific output or how long a command took.

Read more ...