1
0
mirror of https://github.com/sorin-ionescu/prezto.git synced 2025-03-11 00:45:40 +08:00

Moved each theme under its own directory and changed the file extension.

This commit is contained in:
Sorin Ionescu 2011-07-13 13:03:11 -04:00
parent 4727e12013
commit b34e9e0022
90 changed files with 3 additions and 4 deletions
oh-my-zsh.sh
themes
Soliah
afowler
alanpeabody
arrow
aussiegeek
awesomepanda
bira
candy
clean
cloud
cypher
dallas
darkblood
daveverwer
dieter
dogenpunk
dst
dstufft
duellj
eastwood
edvardm
evan
example
fishy
flazz
fletcherm
frisk
funky
fwalch
gallifrey
gallois
garyblessington
gentoo
geoffgarside
gozilla
humza
imajes
jbergantine
jispwoso
jnrowe
jonathan
josh
jreese
jtriley
juanghurtado
kardan
kennethreitz
kolo
kphoen
lambda
linuxonly
lukerandall
macovsky-ruby
macovsky
maran
mgutz
mikeh
miloshadzic
minimal
mrtazz
murilasso
muse
nanotech
nebirhos
nicoulaj
obraun
philips
pmcgee
re5et
rgm
risto
rixius
robbyrussell
simple
skaro
smt
sorin
sporty_256
steeef
sunaku
takashiyoshida
theunraveler
tjkirch
tonotdo
trapd00r
wezm+
wezm
xiong-chiamiov-plus
xiong-chiamiov

@ -29,15 +29,14 @@ done
# Load the theme.
if [[ "$ZSH_THEME" == "random" ]]; then
themes=($ZSH/themes/*.zsh-theme)
themes=($ZSH/themes/**/*.theme.zsh)
theme_index=${#themes[@]}
(( theme_index=((RANDOM % theme_index) + 1) ))
random_theme="${themes[$theme_index]}"
source "$random_theme"
else
if [ ! "$ZSH_THEME" = "" ]
then
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
if [[ -f "$ZSH/themes/$ZSH_THEME/$ZSH_THEME.theme.zsh" ]]; then
source "$ZSH/themes/$ZSH_THEME/$ZSH_THEME.theme.zsh"
fi
fi