better zsh prompt
This commit is contained in:
parent
4be52838df
commit
7ebb790c1f
1 changed files with 2 additions and 2 deletions
|
|
@ -78,6 +78,6 @@ ZSH_THEME_GIT_PROMPT_ADDED=" %{$GREEN%}⇶%{$RESET_COLOR%}"
|
||||||
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$RED%}☢%{$RESET_COLOR%}"
|
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$RED%}☢%{$RESET_COLOR%}"
|
||||||
|
|
||||||
PROMPT='
|
PROMPT='
|
||||||
%{$fg_bold[green]%}[%n@%m] %{$fg[yellow]%}[%~]
|
%{$fg_bold[green]%}[%n@%m] %{$fg[yellow]%}[%~]%{$reset_color%}
|
||||||
%{$fg[blue]%}>%{$reset_color%} '
|
$(in_sandbox) %{$fg[blue]%}>%{$reset_color%} '
|
||||||
RPROMPT='$(git_prompt_ahead)$(parse_git_dirty) $(branch_prompt)%{$reset_color%} %{$reset_color%}'
|
RPROMPT='$(git_prompt_ahead)$(parse_git_dirty) $(branch_prompt)%{$reset_color%} %{$reset_color%}'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue