mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
include root_warning
This commit is contained in:
parent
27fd1bd6ac
commit
86174bff5a
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ function root_warning {
|
||||||
local smiley="%(?,%{$fg[green]%}☺%{$reset_color%},%{$fg[red]%}☹%{$reset_color%})"
|
local smiley="%(?,%{$fg[green]%}☺%{$reset_color%},%{$fg[red]%}☹%{$reset_color%})"
|
||||||
|
|
||||||
PROMPT='
|
PROMPT='
|
||||||
%{$fg[yellow]%}%m%{$reset_color%}: %{$fg_bold[blue]%}%~%{$reset_color%} [$(smh_rvm_info)$(git_prompt_info)]
|
$(root_warning)%{$fg[yellow]%}%m%{$reset_color%}: %{$fg_bold[blue]%}%~%{$reset_color%} [$(smh_rvm_info)$(git_prompt_info)]
|
||||||
%_${smiley} $(prompt_char) '
|
%_${smiley} $(prompt_char) '
|
||||||
|
|
||||||
RPROMPT='%{$fg[green]%}[%*]%{$reset_color%}'
|
RPROMPT='%{$fg[green]%}[%*]%{$reset_color%}'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue