logoalt Hacker News

ctippett • today at 1:31 PM • 1 reply • view on HN

You could probably achieve something like that using Fish shell and their fish_preexec and fish_postexec event hooks.

Edit: Nope, looks like you can't. You only get the invoked command and no output.


Replies

stirfish • today at 2:11 PM

Could you use preexec + tee?