aboutsummaryrefslogtreecommitdiffstats
path: root/.zshrc
diff options
context:
space:
mode:
authorkatherine <shmibs@airen-no-jikken.icu>2018-12-06 11:54:26 -0700
committerkatherine <shmibs@airen-no-jikken.icu>2018-12-06 11:54:26 -0700
commitd168ec3c5e04efb5f401cfcbe60c021093cd465b (patch)
treec0f85841b00f27d8d8b6b0b72df8491188326d24 /.zshrc
parent8a1a6e410499cbc5c0685287847b290be7ccbba8 (diff)
downloaddotfiles-d168ec3c5e04efb5f401cfcbe60c021093cd465b.tar.gz
synchronise common prompts
the same across shell, iex, utop, but colour-coded and with a which thing and version hint
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc4
1 files changed, 2 insertions, 2 deletions
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