mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
end symbol not showing fixed
This commit is contained in:
parent
3b70d6427a
commit
3bafbf3262
1 changed files with 3 additions and 2 deletions
|
|
@ -10,6 +10,7 @@ ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$fg[white]%}%B$%b "
|
||||||
|
|
||||||
local host_name='%{$fg[white]%}%m%{$reset_color%}:'
|
local host_name='%{$fg[white]%}%m%{$reset_color%}:'
|
||||||
local current_dir='%{$fg[blue]%}%~%{$reset_color%}'
|
local current_dir='%{$fg[blue]%}%~%{$reset_color%}'
|
||||||
local git_branch='$(git_prompt_info)%{$reset_color%}'
|
local git_branch='$(git_prompt_info)'
|
||||||
|
local end_symbol=' %{$fg[white]%}%B$%b '
|
||||||
|
|
||||||
PROMPT="${host_name}${current_dir}${git_branch}"
|
PROMPT="${host_name}${current_dir}${git_branch}${end_symbol}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue