Skip to content

Instantly share code, notes, and snippets.

@bjartek
Created November 12, 2010 08:36
Show Gist options
  • Save bjartek/673873 to your computer and use it in GitHub Desktop.
Save bjartek/673873 to your computer and use it in GitHub Desktop.
#!/bin/bash
(ssh bjartka@pvv -o PermitLocalCommand=no \
": > ~/.irssi/fnotify ; tail -f ~/.irssi/fnotify " | \
while read heading message; do \
growlnotify -t "${heading}" -m "${message}"; \
done)&
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment