isync, bash, eshell: try imap syncing my gnu mail from my server
[~bandali/configs] / .bashrc
diff --git a/.bashrc b/.bashrc
index f93f6c9..91f47fb 100644 (file)
--- 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"
@@ -69,13 +67,11 @@ aur() {
    cd ${1}
 }
 
-# fzf
-#include /usr/share/fzf/key-bindings.bash
-#include /usr/share/fzf/completion.bash
-
-if ! pgrep -u "$USER" ssh-agent > /dev/null; then
-    ssh-agent > ~/.ssh-agent-thing
-fi
-if [[ ! "$SSH_AUTH_SOCK" ]]; then
-    eval "$(<~/.ssh-agent-thing)"
+if [ -z "$IS_GUIX_SYSTEM" ]; then
+    if ! pgrep -u "$USER" ssh-agent > /dev/null; then
+        ssh-agent > ~/.ssh-agent-thing
+    fi
+    if [[ ! "$SSH_AUTH_SOCK" ]]; then
+        eval "$(<~/.ssh-agent-thing)"
+    fi
 fi