dotphiles/dotzsh — pull request #8 by micampe (2013-04-24 17:20:32+00:00)
Title: Send command notifications only if a different window is active

This uses AppleScript to check the id of the window that started the command and only send a notification if that window is no longer active when the command completes.

I left it off by default as someone may consider it too slow, but it’s not really noticeable for me.

Personally I would remove the command filter but I left the default behavior untouched.