mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
support vcs,vcs_info,vcs_info_msg as features
This commit is contained in:
parent
69b4decc08
commit
3747f363fd
1 changed files with 3 additions and 0 deletions
|
|
@ -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 "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue