Add ZSH_THEME_GIT_PROMPT_UNTRACKED #863

Closed
wants to merge 1 commit into
from

Projects

None yet

3 participants

@Soares
Soares commented Jan 25, 2012

Add the ability for zsh themes to differentiate between untracked files and a simply dirty repository.

Coppied from (Steve Losh's)[https://github.com/sjl/oh-my-zsh/] fork.
He didn't seem to be making a pull request, so here's one.

@Soares Soares Tweaks to lib/git.zsh to include untracked flag
Coppied from (Steve Losh's)[https://github.com/sjl/oh-my-zsh/] fork.
He didn't seem to be making a pull request, so here's one.
b67393c
Contributor
scialex commented Jan 27, 2012

you might want to try rewriting this using the --porcelain option. it is designed to be used in scripts and is guaranteed to be stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment