mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-30 06:03:40 +08:00
7 lines
317 B
Bash
7 lines
317 B
Bash
# Theme with full path names and hostname
|
|
# Handy if you work on different servers all the time;
|
|
PROMPT='%{$fg[cyan]%}%n%{$reset_color%}@%{$fg[yellow]%}%M:%{$fg[green]%}%/%{$reset_color%} $(git_prompt_info) %(!.#.$) '
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[cyan]%}git:("
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}"
|