mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-23 20:27:29 +08:00
8 lines
308 B
Bash
8 lines
308 B
Bash
# Copied and modified from the oh-my-zsh theme from geoffgarside
|
|
# Red server name, green cwd, blue git status
|
|
|
|
PROMPT='%{$fg[red]%}%m%{$reset_color%}:%{$fg[green]%}%c%{$reset_color%}$(git_prompt_info) %(!.#.$) '
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[blue]%}("
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}"
|