From 521e717404d7eda994c010bca22219e0f78a6cad Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 2 Jun 2013 16:11:20 +0300 Subject: [PATCH] Don't set TMUXIFIER env var if it's already set --- shell/tmux.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shell/tmux.sh b/shell/tmux.sh index cefdaf4..312dfa1 100644 --- a/shell/tmux.sh +++ b/shell/tmux.sh @@ -17,7 +17,9 @@ fi # Tmuxifier if [ -d "$DOTSHELL/tmux/tmuxifier" ]; then - export TMUXIFIER="$DOTSHELL/tmux/tmuxifier" + if [ -z $TMUXIFIER ]; then + export TMUXIFIER="$DOTSHELL/tmux/tmuxifier" + fi export TMUXIFIER_LAYOUT_PATH="$DOTFILES/private/tmux-layouts" [[ -s "$TMUXIFIER/init.sh" ]] && source "$TMUXIFIER/init.sh"