From fb83125d5972171feb2718623fe88b83160fbd72 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Tue, 27 Dec 2016 09:50:21 +0100 Subject: holiday switch --- offlineimap-switch | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/offlineimap-switch b/offlineimap-switch index be2103a..261518d 100755 --- a/offlineimap-switch +++ b/offlineimap-switch @@ -5,7 +5,11 @@ case `date +"%a"` in offlineimap -a private ;; *) - offlineimap + if [[ -f ~/.holiday ]]; then + offlineimap -a private + else + offlineimap + fi ;; esac -- cgit v1.2.3