Themes: Fold themes plugin in to core oh-my-zsh

Rewrite theme() and lstheme() to remove side effects, add debugging,
and fix `local` inside theme definitions.
Add `theme next` for stepping through theme list, and "blacklist" support.
Modify tools/theme_chooser to use new theme functions.
This commit is contained in:
Andrew Janke 2015-02-14 21:28:50 -05:00 committed by Andrew Janke
commit d24e84255b
8 changed files with 452 additions and 95 deletions

View file

@ -38,5 +38,7 @@ if [[ -z "$LC_CTYPE" && -z "$LC_ALL" ]]; then
export LC_CTYPE=${LANG%%:*} # pick the first entry from LANG
fi
# recognize comments
setopt interactivecomments
setopt auto_cd
setopt multios
setopt cdablevars