Add env check to start without tmux

This commit is contained in:
Kevin Cotugno 2020-10-03 12:57:02 -07:00
parent 93a9b7b3ce
commit 67f46b37e9

3
.zshrc
View File

@ -3,7 +3,8 @@ oh_my_zsh="$HOME/.oh-my-zsh"
if [[ -f "$oh_my_zsh/oh-my-zsh.sh" ]]; then if [[ -f "$oh_my_zsh/oh-my-zsh.sh" ]]; then
export ZSH="$oh_my_zsh" export ZSH="$oh_my_zsh"
export DISABLE_AUTO_UPDATE=true 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 if (( !${+ZSH_THEME} )); then
export ZSH_THEME="simple" export ZSH_THEME="simple"