mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Updated theme
This commit is contained in:
parent
772865d91d
commit
7376e51b27
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
if [ "$(whoami)" = "root" ]; then NCOLOR="red"; else NCOLOR="white"; fi
|
if [ "$(whoami)" = "root" ]; then NCOLOR="red"; else NCOLOR="white"; fi
|
||||||
|
|
||||||
PROMPT='%{$fg[white]%}%B%c%b%{$reset_color%}$(git_prompt_info) %(!.#.$) '
|
PROMPT='%{$fg[white]%}%B%c%b%{$reset_color%}$(git_prompt_info) %(!.#.$) '
|
||||||
RPROMPT='%{$fg[$NCOLOR]%}%n %{$fg_bold[white]%}@ %{$fg_bold[yellow]%}%*%{$reset_color%}'
|
RPROMPT='%{$fg[$NCOLOR]%}%n%{$fg_bold[white]%}@%{$fg_bold[yellow]%}%m %{$fg_bold[white]%}%*%{$reset_color%}'
|
||||||
|
|
||||||
|
|
||||||
# git theming
|
# git theming
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}::%{$fg_no_bold[white]%}%B"
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}::%{$fg_no_bold[white]%}%B"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue