Use zstyle to set the theme

This commit is contained in:
Simon Gomizelj 2011-12-01 16:40:20 -05:00
commit b826af0c7b
2 changed files with 4 additions and 1 deletions

View file

@ -44,6 +44,9 @@ for plugin ($plugins); do
fi
done
local ZSH_THEME
zstyle -a :omz theme ZSH_THEME
# Load the theme
if [ "$ZSH_THEME" = "random" ]
then

View file

@ -1,6 +1,6 @@
ZSH=/usr/share/oh-my-zsh
ZSH_THEME="arch-blue"
zstyle -a :omz theme "arch-blue"
plugins=(archlinux sprunge)
omz_init(){