From 67f46b37e9dd480908bc3e07c82d0bae3424fb6d Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Sat, 3 Oct 2020 12:57:02 -0700 Subject: [PATCH] Add env check to start without tmux --- .zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index e7ba18f..c26a948 100644 --- a/.zshrc +++ b/.zshrc @@ -3,7 +3,8 @@ oh_my_zsh="$HOME/.oh-my-zsh" if [[ -f "$oh_my_zsh/oh-my-zsh.sh" ]]; then export ZSH="$oh_my_zsh" export DISABLE_AUTO_UPDATE=true - export ZSH_TMUX_AUTOSTART=true + + if [[ ! -v "ZSH_TMUX_AUTOSTART" ]]; then export ZSH_TMUX_AUTOSTART=true; fi if (( !${+ZSH_THEME} )); then export ZSH_THEME="simple"