diff options
author | katherine <shmibs@airen-no-jikken.icu> | 2018-12-06 11:54:26 -0700 |
---|---|---|
committer | katherine <shmibs@airen-no-jikken.icu> | 2018-12-06 11:54:26 -0700 |
commit | d168ec3c5e04efb5f401cfcbe60c021093cd465b (patch) | |
tree | c0f85841b00f27d8d8b6b0b72df8491188326d24 /.zshrc | |
parent | 8a1a6e410499cbc5c0685287847b290be7ccbba8 (diff) | |
download | dotfiles-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-- | .zshrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |