Add support for forcing a theme

This commit is contained in:
Kevin Cotugno 2020-02-24 18:06:39 -07:00
parent 17f5b2e419
commit b11b066e96

6
.zshrc
View File

@ -3,11 +3,13 @@ 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 ZSH_THEME="random"
export DISABLE_UPDATE_PROMPT=true export DISABLE_UPDATE_PROMPT=true
export ZSH_TMUX_AUTOSTART=true export ZSH_TMUX_AUTOSTART=true
if (( !${+ZSH_THEME} )); then
export ZSH_THEME="random"
fi
export plugins=(git tmux) export plugins=(git tmux)
source "$oh_my_zsh/oh-my-zsh.sh" source "$oh_my_zsh/oh-my-zsh.sh"
fi fi