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
251 B
Bash
7 lines
251 B
Bash
# Copied and modified from the oh-my-zsh theme from geoffgarside
|
|
# Red server name, green cwd, blue git status
|
|
|
|
PROMPT='%F{red}%m%f:%F{green}%c%f$(git_prompt_info) %(!.#.$) '
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX=" %F{blue}("
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX=")%f"
|