summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsync-mail3
1 files changed, 3 insertions, 0 deletions
diff --git a/sync-mail b/sync-mail
index 41af354..ca551ac 100755
--- a/sync-mail
+++ b/sync-mail
@@ -3,6 +3,9 @@
if [[ $(uname) == "Darwin" ]]; then
export PATH=/Users/$(whoami)/.local/bin:$PATH
fi
+if [[ $(uname) == "Linux" ]]; then
+ export PATH=/home/$(whoami)/.local/bin:$PATH
+fi
$(which imapfilter) -c $HOME/.imapfilter/private.lua 2>/dev/null
if [[ ! -f ~/.holiday ]]; then