Hacker News new | past | comments | ask | show | jobs | submit login
OS X notifications when long zsh command finishes and terminal not focussed (frantic.im)
1 point by tomduncalf on July 6, 2016 | hide | past | favorite | 1 comment



The actual description is here isn't 100% clear, but I didn't want to post my own article just for the sake of clarifying as it felt a bit like stealing!

The instructions you need are at the bottom of the post – "solution 4". Put the AppleScript into a new file, /usr/local/bin/notifyme (or wherever on your path) and then add the function to your .zshrc (changing "notifyme" if you named the AppleScript something different). This will then take effect for any new Terminal windows.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: