mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
fix minimal theme
This commit is contained in:
parent
a79b37b954
commit
ebbd47c0ba
1 changed files with 1 additions and 11 deletions
|
|
@ -13,14 +13,4 @@ ZSH_THEME_HG_PROMPT_SUFFIX="$ZSH_THEME_GIT_PROMPT_SUFFIX"
|
||||||
ZSH_THEME_HG_PROMPT_DIRTY="$ZSH_THEME_GIT_PROMPT_DIRTY"
|
ZSH_THEME_HG_PROMPT_DIRTY="$ZSH_THEME_GIT_PROMPT_DIRTY"
|
||||||
ZSH_THEME_HG_PROMPT_CLEAN="$ZSH_THEME_GIT_PROMPT_CLEAN"
|
ZSH_THEME_HG_PROMPT_CLEAN="$ZSH_THEME_GIT_PROMPT_CLEAN"
|
||||||
|
|
||||||
vcs_status() {
|
PROMPT='%2~ $(git_prompt_info)»%b '
|
||||||
if (( ${+functions[in_svn]} )) && in_svn; then
|
|
||||||
svn_prompt_info
|
|
||||||
elif (( ${+functions[in_hg]} )) && in_hg; then
|
|
||||||
hg_prompt_info
|
|
||||||
else
|
|
||||||
git_prompt_info
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
PROMPT='%2~ $(vcs_status)»%b '
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue