Add env check to start without tmux
This commit is contained in:
parent
93a9b7b3ce
commit
67f46b37e9
3
.zshrc
3
.zshrc
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user