mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
e8504ac49a
that only change the foreground color. %F works at least since Zsh 4.3.
7 lines
290 B
Bash
7 lines
290 B
Bash
PROMPT='%F{yellow}λ %m %F{green}%c %F{yellow}→ $(git_prompt_info)$(hg_prompt_info)%f'
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="λ %F{blue}git %F{red}"
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%F{yellow} → %f"
|
|
ZSH_THEME_HG_PROMPT_PREFIX="λ %F{blue}hg %F{red}"
|
|
ZSH_THEME_HG_PROMPT_SUFFIX="%F{yellow} → %f"
|
|
|