mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Use zstyle to set the theme
This commit is contained in:
parent
534b4ab12e
commit
b826af0c7b
2 changed files with 4 additions and 1 deletions
|
|
@ -44,6 +44,9 @@ for plugin ($plugins); do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
local ZSH_THEME
|
||||||
|
zstyle -a :omz theme ZSH_THEME
|
||||||
|
|
||||||
# Load the theme
|
# Load the theme
|
||||||
if [ "$ZSH_THEME" = "random" ]
|
if [ "$ZSH_THEME" = "random" ]
|
||||||
then
|
then
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
ZSH=/usr/share/oh-my-zsh
|
ZSH=/usr/share/oh-my-zsh
|
||||||
|
|
||||||
ZSH_THEME="arch-blue"
|
zstyle -a :omz theme "arch-blue"
|
||||||
plugins=(archlinux sprunge)
|
plugins=(archlinux sprunge)
|
||||||
|
|
||||||
omz_init(){
|
omz_init(){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue