Skip to content

Instantly share code, notes, and snippets.

@mattd
Created March 15, 2011 03:54
Show Gist options
  • Save mattd/870282 to your computer and use it in GitHub Desktop.
Save mattd/870282 to your computer and use it in GitHub Desktop.
#!/bin/sh
(ssh [email protected] -o PermitLocalCommand=no \
": > .irssi/fnotify ; tail -f .irssi/fnotify " | \
while read heading message; do \
growlnotify -s -t "${heading}" -m "${message}"; \
#say "${heading} says, ${message}"; \
done)&
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment