mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
9 lines
342 B
Bash
9 lines
342 B
Bash
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[green]%}["
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="]"
|
|
|
|
local host_name='%{$fg[white]%}%m%{$reset_color%}:'
|
|
local current_dir='%{$fg[blue]%}%~%{$reset_color%}'
|
|
local git_branch='$(git_prompt_info)'
|
|
local end_symbol=' %{$fg[white]%}%B$%b '
|
|
|
|
PROMPT="${host_name}${current_dir}${git_branch}${end_symbol}"
|