mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
[URL theme] Change prompt when running with privileges
This commit is contained in:
parent
81c0bd5729
commit
03c4da9da5
1 changed files with 1 additions and 1 deletions
|
|
@ -2,4 +2,4 @@ ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[yellow]%}?%{$reset_color%}%{$fg_bold[red
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||||
|
|
||||||
PROMPT='%{$fg_bold[green]%}%n%{$reset_color%}%{$fg_bold[yellow]%}@%{$reset_color%}%{$fg_bold[green]%}%M%{$reset_color%}%{$fg_bold[blue]%}%d%{$reset_color%}$(git_prompt_info)
|
PROMPT='%{$fg_bold[green]%}%n%{$reset_color%}%{$fg_bold[yellow]%}@%{$reset_color%}%{$fg_bold[green]%}%M%{$reset_color%}%{$fg_bold[blue]%}%d%{$reset_color%}$(git_prompt_info)
|
||||||
%{$fg_bold[yellow]%}$%{$reset_color%} '
|
%{$fg_bold[yellow]%}%#%{$reset_color%} '
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue