From b11b066e961d3a3a0138cee0eb0984e12684454d Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Mon, 24 Feb 2020 18:06:39 -0700 Subject: [PATCH] Add support for forcing a theme --- .zshrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index d61a802..b4a9886 100644 --- a/.zshrc +++ b/.zshrc @@ -3,11 +3,13 @@ oh_my_zsh="$HOME/.oh-my-zsh" if [[ -f "$oh_my_zsh/oh-my-zsh.sh" ]]; then export ZSH="$oh_my_zsh" - export ZSH_THEME="random" export DISABLE_UPDATE_PROMPT=true - export ZSH_TMUX_AUTOSTART=true + if (( !${+ZSH_THEME} )); then + export ZSH_THEME="random" + fi + export plugins=(git tmux) source "$oh_my_zsh/oh-my-zsh.sh" fi