aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-09-19 07:03:07 +0200
committerKarel Kočí <cynerd@email.cz>2016-09-19 07:03:07 +0200
commit002a7542ceaa825fe14f6701f02b69ce7f9e8ef9 (patch)
treef972df70df2d832c437d6ff0e47c144e9576f5ef
parent97583f047ff5901684400483cb00d66d1aaad26d (diff)
downloadmyconfigs-002a7542ceaa825fe14f6701f02b69ce7f9e8ef9.tar.gz
myconfigs-002a7542ceaa825fe14f6701f02b69ce7f9e8ef9.tar.bz2
myconfigs-002a7542ceaa825fe14f6701f02b69ce7f9e8ef9.zip
Fix bash rc and remove quick mail sync
-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'