If a process takes greater than REPORTTIME, zsh prints the time when it finishes. Is there a way to make it run a custom command in addition to this?(I would like to use notify send to let me know the process finished executing)
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
I just had the same thought. Did a quick google and found this; I've adapted it a bit. Shove this into your zshrc:
I'm rather happy with it! :) |
|||||
|