Add support for forcing a theme
This commit is contained in:
parent
17f5b2e419
commit
b11b066e96
6
.zshrc
6
.zshrc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user