Reset color on brackets after time
otherwise the brackets would be a bolder red than the others
This commit is contained in:
parent
2eb6a6471e
commit
0c4b016811
@ -4,7 +4,7 @@
|
||||
# ┌[user@host] [time] [/dev/tty] [git branch] [error code]
|
||||
# └[path]>
|
||||
|
||||
PROMPT=$'%{$fg[red]%}┌[%{$fg_bold[white]%}%n%{$reset_color%}%{$fg[red]%}@%{$fg_bold[white]%}%m%{$reset_color%}%{$fg[red]%}] %{$fg[red]%}[%{$fg_bold[white]%}%*%{$fg[red]%}] [%{$fg_bold[white]%}/dev/%y%{$reset_color%}%{$fg[red]%}] %{$(git_prompt_info)%}%(?,,%{$fg[red]%}[%{$fg_bold[white]%}%?%{$reset_color%}%{$fg[red]%}])
|
||||
PROMPT=$'%{$fg[red]%}┌[%{$fg_bold[white]%}%n%{$reset_color%}%{$fg[red]%}@%{$fg_bold[white]%}%m%{$reset_color%}%{$fg[red]%}] %{$fg[red]%}[%{$fg_bold[white]%}%*%{$reset_color%}%{$fg[red]%}] [%{$fg_bold[white]%}/dev/%y%{$reset_color%}%{$fg[red]%}] %{$(git_prompt_info)%}%(?,,%{$fg[red]%}[%{$fg_bold[white]%}%?%{$reset_color%}%{$fg[red]%}])
|
||||
%{$fg[red]%}└[%{$fg_bold[white]%}%~%{$reset_color%}%{$fg[red]%}]>%{$reset_color%} '
|
||||
PS2=$' %{$fg[red]%}|>%{$reset_color%} '
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user