mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-16 02:27:03 +01:00
Comments
This commit is contained in:
parent
2d94152e85
commit
ac06974765
1 changed files with 1 additions and 19 deletions
|
|
@ -5,15 +5,9 @@
|
|||
|
||||
# Color shortcuts
|
||||
RED=$fg[red]
|
||||
YELLOW=$fg[yellow]
|
||||
GREEN=$fg[green]
|
||||
WHITE=$fg[white]
|
||||
BLUE=$fg[blue]
|
||||
RED_BOLD=$fg_bold[red]
|
||||
YELLOW_BOLD=$fg_bold[yellow]
|
||||
GREEN_BOLD=$fg_bold[green]
|
||||
WHITE=$fg[white]
|
||||
WHITE_BOLD=$fg_bold[white]
|
||||
BLUE_BOLD=$fg_bold[blue]
|
||||
RESET_COLOR=$reset_color
|
||||
|
||||
# Format for git_prompt_info()
|
||||
|
|
@ -35,18 +29,6 @@ ZSH_THEME_GIT_PROMPT_UNTRACKED=" %{$WHITE%}untracked"
|
|||
# Format for git_prompt_ahead()
|
||||
ZSH_THEME_GIT_PROMPT_AHEAD=" %{$RED%}(!)"
|
||||
|
||||
# Prompt format
|
||||
# PROMPT='
|
||||
# %{$RED_BOLD%}%n@%m%{$WHITE%}:%~%u$(parse_git_dirty)$(git_prompt_ahead)%{$RESET_COLOR%}
|
||||
# %{$BLUE%}>%{$RESET_COLOR%} '
|
||||
PROMPT='
|
||||
%{$RED_BOLD%}[%{$WHITE%}\
|
||||
%n\
|
||||
%{$RED_BOLD%}@%{$WHITE%}\
|
||||
%m:%~%{$RED_BOLD%}]\
|
||||
%u$(parse_git_dirty)$(git_prompt_ahead)%{$RESET_COLOR%}
|
||||
%{$RED%}>%{$RESET_COLOR%} '
|
||||
|
||||
PROMPT='
|
||||
%{$WHITE%}%n\
|
||||
%{$RED_BOLD%}@%{$WHITE%}\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue