support vcs,vcs_info,vcs_info_msg as features

This commit is contained in:
Daniel YC Lin 2013-08-06 17:47:40 +08:00
commit 3747f363fd

View file

@ -14,6 +14,9 @@ THEMES_DIR="${1:-$HOME/.oh-my-zsh/themes}"
for f in $THEMES_DIR/*.zsh-theme ; do
echo -n "$(basename $f .zsh-theme) "
grep -q '%?' $f && echo -n "code "
grep -q 'VCS' $f && echo -n "vcs "
grep -q 'vcs_info' $f && echo -n "vcs_info "
grep -q 'vcs_info_msg' $f && echo -n "vcs_info_msg "
grep -q 'GIT' $f && echo -n "git "
grep -q '%!' $f && echo -n "hist "
grep -q '%h' $f && echo -n "hist "