From d168ec3c5e04efb5f401cfcbe60c021093cd465b Mon Sep 17 00:00:00 2001 From: katherine Date: Thu, 6 Dec 2018 11:54:26 -0700 Subject: synchronise common prompts the same across shell, iex, utop, but colour-coded and with a which thing and version hint --- .zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index 1f6971c..903185d 100644 --- a/.zshrc +++ b/.zshrc @@ -52,7 +52,7 @@ PROMPT+="%(0?..$fg[red]%?$fg[black]:)" # if any, number of jobs PROMPT+="%(1j.$fg[green]%j$fg[black]:.)" # name and host (red for root) -PROMPT+="%{%(!.$fg[red].$fg[magenta])%}%n@%M%E " +PROMPT+="%{%(!.$fg[red].$fg[white])%}%n@zsh-$ZSH_VERSION@%M%E " # current location, with one level of parent context PROMPT+="%{$fg[blue]%}%2c" # newline @@ -66,7 +66,7 @@ PROMPT+="%(0?..$fg[red]%?$fg[white]:)" # if any, number of jobs PROMPT+="%(1j.$fg[green]%j$fg[white]:.)" # name and host (red for root) -PROMPT+="%{%(!.$fg[red].$fg[magenta])%}%n@%M%E " +PROMPT+="%{%(!.$fg[red].$fg[white])%}%n@zsh-$ZSH_VERSION@%M%E " # current location, with one level of parent context PROMPT+="%{$fg[blue]%}%2c" # newline -- cgit v1.2.3