Moving to homesick

This commit is contained in:
2013-08-20 23:52:37 -04:00
parent f34d4ef24d
commit 6ebda25526
19 changed files with 0 additions and 0 deletions

21
home/bin/ircnotify.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/zsh
notify()
{
heading=$1
message=$2
if [ `uname` = "Darwin" ]; then
growlnotify -t ${heading} -m ${message}
else
notify-send ${heading} ${message}
fi
}
# Avoid spawning script twice.
ps aux | grep ircnotify.sh | grep -v grep | grep -v $$ && exit
(ssh irc.walkah.net -o PermitLocalCommand=no \
": > .irssi/fnotify ; tail -f .irssi/fnotify " | \
while read heading message; do \
notify "${heading}" "${message}"; \
done)&

3
home/bin/pychecker.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/zsh
pyflakes $1
pep8 --repeat $1