aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bashrc3
-rwxr-xr-xconfig/offlineimap/config1
-rw-r--r--shellrc2
3 files changed, 3 insertions, 3 deletions
diff --git a/bashrc b/bashrc
index 0b09b3a..ef4e60c 100644
--- a/bashrc
+++ b/bashrc
@@ -1,5 +1,7 @@
# .bashrc
+source ~/.shellrc
+
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
@@ -35,4 +37,3 @@ case "$TERM" in
;;
esac
-source ~/.shellrc
diff --git a/config/offlineimap/config b/config/offlineimap/config
index acc62c0..53ccda1 100755
--- a/config/offlineimap/config
+++ b/config/offlineimap/config
@@ -19,6 +19,5 @@ localrepository = email-local
remoterepository = email-remote
status_backend = sqlite
autorefresh = 5
-quick = 5
postsynchook = ~/.local/sbin/newmail-notify
diff --git a/shellrc b/shellrc
index d0df2ad..b1a4796 100644
--- a/shellrc
+++ b/shellrc
@@ -5,7 +5,7 @@ export PATH=~/.local/bin:$PATH:$(ruby -e "print Gem.user_dir")/bin
export EDITOR=vim
# Continue only if this is interactive shell
-[[ -o interactive ]] || return
+[[ $- != *i* ]] && return
alias ls='ls --color=auto'
alias ll='ls -l'