How do I make iTerm terminal notify me when a job/process is complete?

前端 未结 7 1799
[愿得一人]
[愿得一人] 2020-12-12 13:00

A notification center notification would be ideal but growl, bounce dock, sound, etc would be fine, too (or if this can only be done in Terminal.app I\'d be willing to switc

7条回答
  •  清歌不尽
    2020-12-12 13:20

    Notify on already running processes:

    Shortcut: A or:

    Edit -> Marks and Annotations -> Alerts -> Alert on next mark

    : iTerm will literally keep an eye (on the top right corner) of your terminal. Once the command is finished, it will contact the Notification Center.

    Why?

    Command was already launched, completion time was underestimated, and we don't want to cancel the command or wait for its completion. (i.e., brew update after a long time)

    Requirements

    iTerm: Shell Integration:

    iTerm2 -> Install Shell Integration

    Note that the integration will not show notifications until iTerm2 is restarted.

提交回复
热议问题