summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bashrc4
-rw-r--r--.config/isync/mbsyncrc25
-rw-r--r--.emacs.d/var/eshell/alias4
3 files changed, 27 insertions, 6 deletions
diff --git a/.bashrc b/.bashrc
index e581cd3..91f47fb 100644
--- a/.bashrc
+++ b/.bashrc
@@ -56,9 +56,7 @@ alias mv="mv -iv"
alias cp="cp -iv"
alias mbsync='mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc'
alias getmail='getmail --getmaildir "$XDG_CONFIG_HOME"/getmail --rcfile getmailrc'
-alias mb="mbsync csclub; mbsync uwaterloo; mbsync shemshak"
-alias gm="getmail"
-alias m="mb; gm"
+alias m="mbsync csclub; mbsync uwaterloo; mbsync shemshak; mbsync gnub"
alias best="youtube-dl -f best"
alias e="$EDITOR"
alias se="SUDO_EDITOR=\"emacsclient\" sudo -e"
diff --git a/.config/isync/mbsyncrc b/.config/isync/mbsyncrc
index 5b9f8d1..2a413be 100644
--- a/.config/isync/mbsyncrc
+++ b/.config/isync/mbsyncrc
@@ -29,6 +29,31 @@ Slave :shemshak-local:
Patterns *
######
+IMAPAccount gnub
+Host mail.shemshak.org
+User gnu@bandalis.org
+PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/gnub.gpg"
+SSLType IMAPS
+
+IMAPStore gnub-remote
+Account gnub
+
+IMAPAccount gnub-local
+Host 127.0.0.1
+Port 143
+User bandali@gnu.local
+PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/gnub-local.gpg"
+SSLType None
+
+IMAPStore gnub-local
+Account gnub-local
+
+Channel gnub
+Master :gnub-remote:
+Slave :gnub-local:
+Patterns *
+
+######
IMAPAccount uwaterloo
Host connect.uwaterloo.ca
User abandali
diff --git a/.emacs.d/var/eshell/alias b/.emacs.d/var/eshell/alias
index 5d2f768..1f18034 100644
--- a/.emacs.d/var/eshell/alias
+++ b/.emacs.d/var/eshell/alias
@@ -16,6 +16,4 @@ alias vi find-file $1
alias vim find-file $1
alias mbsync mbsync -c $XDG_CONFIG_HOME/isync/mbsyncrc $*
alias getmail getmail --getmaildir $XDG_CONFIG_HOME/getmail --rcfile getmailrc $*
-alias mb mbsync csclub; mbsync uwaterloo; mbsync shemshak
-alias gm getmail
-alias m mb; gm
+alias m mbsync csclub; mbsync uwaterloo; mbsync shemshak; mbsync gnub