Skip to content

tjluoma/msg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

a zsh function like 'echo' except using growlnotify

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages