From 92dee5c5ea582a3e6c3899df953805352a8ef4fa Mon Sep 17 00:00:00 2001 From: Sebastian Tramp Date: Mon, 16 Apr 2012 23:05:45 +0200 Subject: [PATCH] usage of environment var for inbox --- prompt.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prompt.zsh b/prompt.zsh index c1df85e..79ba005 100644 --- a/prompt.zsh +++ b/prompt.zsh @@ -97,7 +97,7 @@ function tmuxChangeDirectory () { # set the tmux status line if [[ "$TMUX" != "" ]]; then newMailCountTool="/home/seebi/bin/scripts/newMailCount.py" - tmux set-option -g status-right "$PWD ✉ #($newMailCountTool /var/mail/seebi)" >/dev/null + tmux set-option -g status-right "$PWD ✉ #($newMailCountTool $MAIL)" | tee >/dev/null fi if [[ $VCS_TYPE == 'hg' ]]; then