Autocommit of file /home/julien/scripts/tmux-offlineimap changed on host ares
authorJulien Valroff <julien@kirya.net>
Sat, 5 May 2012 09:43:55 +0000 (11:43 +0200)
committerJulien Valroff <julien@kirya.net>
Sat, 5 May 2012 09:43:55 +0000 (11:43 +0200)
tmux-offlineimap [new file with mode: 0755]

diff --git a/tmux-offlineimap b/tmux-offlineimap
new file mode 100755 (executable)
index 0000000..f3ad9a4
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+[ $(pgrep -c offlineimap) = 1 ] || tmux new-session -d -s offlineimap offlineimap