diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-11-03 17:30:09 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-11-03 17:30:09 -0400 |
commit | 6c4c6aa0e4fed80c075641374a28e4d38223fad9 (patch) | |
tree | 77b87d1e97825263feaa4c0641d5ec5da04bc26c /mutt/choose-muttrc-type | |
parent | 01faf31d70a945510a6cf8f3ec8dd785e9d632e1 (diff) | |
download | conf-6c4c6aa0e4fed80c075641374a28e4d38223fad9.tar.gz conf-6c4c6aa0e4fed80c075641374a28e4d38223fad9.zip |
switch between imap and offlineimap depending on the machine
Diffstat (limited to 'mutt/choose-muttrc-type')
-rwxr-xr-x | mutt/choose-muttrc-type | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mutt/choose-muttrc-type b/mutt/choose-muttrc-type new file mode 100755 index 0000000..46b2cbe --- /dev/null +++ b/mutt/choose-muttrc-type @@ -0,0 +1,12 @@ +#!/bin/sh +set -eu +set -o pipefail + +case "$(hostname)" in +hush) + echo 'source ~/.mutt/offlineimap' + ;; +*) + echo 'source ~/.mutt/imap' + ;; +esac |