X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/2ecf015bfa7f10eab50aeb748e687ee3dfb71356..b3aedb2bc3eb7b255e91858ad46c5e187a07fee0:/zsh/lib/prompt.zsh?ds=sidebyside diff --git a/zsh/lib/prompt.zsh b/zsh/lib/prompt.zsh index 0334516..61f5db8 100644 --- a/zsh/lib/prompt.zsh +++ b/zsh/lib/prompt.zsh @@ -6,8 +6,8 @@ hostcolor=green [[ $(hostname) == "tardis" ]] && hostcolor=red precmd() { - PROMPT='%T %n@%{$fg[$hostcolor]%}%m%{$reset_color%}%-0>..>$(git_prompt_status)%>> -%(?..%{$fg_bold[white]%}%?%{$reset_color%})$(vi_prompt_info)%{%(!.$fg[red]❰.$fg[green]❱)%1G%} ' + PROMPT='%T %n@%{$fg[$hostcolor]%}%m%(1j. $fg_bold[white]↵%{$fg_bold[red]%}%j.)%{$reset_color%}%-0>..>$(git_prompt_status)%>> +%(?..%{$fg_bold[white]%}%?)%{$reset_color%}$(vi_prompt_info)%{%(!.$fg[red]❰.$fg[green]❱)%1G%} ' RPROMPT='%{$fg[green]%}%~%{$reset_color%}' }