mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
my them with hour git and colorfull 2 lines prompt
This commit is contained in:
parent
27c6becffd
commit
b45d31f052
1 changed files with 7 additions and 0 deletions
7
themes/posva.zsh-theme
Normal file
7
themes/posva.zsh-theme
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
PROMPT='%{$fg[magenta]%}┌[%{$fg_bold[green]%}%n%{$reset_color%}%{$fg[red]%}@%{$fg_bold[yellow]%}%M%{$reset_color%}%{$fg[magenta]%}]%{$fg[white]%}-%{$fg[cyan]%}(%{$fg_bold[white]%}%~%{$reset_color%}%{$fg[cyan]%})$(git_prompt_info) %{$fg[blue]%}%D{[%H:%M:%S]} %(?..%{$fg[red]%}✘(%?%)%{$reset_color%})
|
||||
%{$fg[magenta]%}└>%{$reset_color%}'
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[cyan]%}-[%{$reset_color%}%{$fg[gray]%}git%{$fg[gray]%}:%{$fg[white]%}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}%{$fg[cyan]%}]-"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}✗%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}✓%{$reset_color%}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue