diff options
Diffstat (limited to 'home')
| -rw-r--r-- | home/.zshrc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/home/.zshrc b/home/.zshrc index c61a73e..2803579 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -68,8 +68,8 @@ plugins=( [ -d $ZSH ] && source $ZSH/oh-my-zsh.sh # Imported Theme -if [ "$USER" = "root" ]; then CARETCOLOR="red"; else CARETCOLOR="blue"; fi -PROMPT='%{$fg[green]%}[%D{%T}]%{$reset_color%} %{$fg_no_bold[cyan]%}%n %{${fg_bold[blue]}%}::%{$reset_color%} %{$fg[yellow]%}%m%{$reset_color%} %{$fg_no_bold[magenta]%} ➜ %{$reset_color%} %{${fg[green]}%}%3~ $(git_prompt_info)%{${fg_bold[$CARETCOLOR]}%}»%{${reset_color}%} ' +if [ "$USER" = "root" ]; then CARETCOLOR="red"; USERNAMECOLOR="red"; else CARETCOLOR="blue"; USERNAMECOLOR="cyan"; fi +PROMPT='%{$fg[green]%}[%D{%T}]%{$reset_color%} %{$fg_no_bold[$USERNAMECOLOR]%}%n %{${fg_bold[blue]}%}::%{$reset_color%} %{$fg[yellow]%}%m%{$reset_color%} %{$fg_no_bold[magenta]%} ➜ %{$reset_color%} %{${fg[green]}%}%3~ $(git_prompt_info)%{${fg_bold[$CARETCOLOR]}%}»%{${reset_color}%} ' # User configuration |
