mutt/offlineimapsyncquick.sh @ 2aaa8a59f2a0

zsh: add an optional zshrc_local hook
author Steve Losh <steve@stevelosh.com>
date Tue, 23 Nov 2010 10:01:30 -0500
parents d3e0c0c7ff37
children (none)
#!/bin/sh

PID=`cat ~/.offlineimap/pid`
ps aux | grep "[ ]$PID" && kill $PID

/usr/local/bin/offlineimap -q -o -u Noninteractive.Quiet &>/dev/null &

exit 0