Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 987 Bytes

README.md

File metadata and controls

22 lines (12 loc) · 987 Bytes

msg README

Summary: msg is like echo except that uses growlnotify. die is like msg except that it will also cause an exit and a "sticky" Growl notification.

This is a zsh function that I use a lot in other shell scripts. Its purpose is to alert me to things using growlnotify in addition to 'echo'.

It also sends a message to 'echo' including a timestamp, and logs that output as well.

You can see an example of the output here:

[screenshot of msg in action]

(note that '@air' refers to the hostname of my computer.)

I have included this on github because a lot of my other scripts use it, and I didn't want to have to keep explaining what it was.

If you don't want to use msg you can just replace all instances of it with echo.