From 002a7542ceaa825fe14f6701f02b69ce7f9e8ef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 19 Sep 2016 07:03:07 +0200 Subject: Fix bash rc and remove quick mail sync --- bashrc | 3 ++- config/offlineimap/config | 1 - shellrc | 2 +- 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' -- cgit v1.2.3