diff options
author | katherine <shmibs@airen-no-jikken.icu> | 2018-12-04 05:56:33 -0700 |
---|---|---|
committer | katherine <shmibs@airen-no-jikken.icu> | 2018-12-04 05:56:33 -0700 |
commit | 8a1a6e410499cbc5c0685287847b290be7ccbba8 (patch) | |
tree | aa5ac8789853716e41ac08698a90b8fbc8adafa2 /.zshrc | |
parent | 18272b9d26c28a3441d7734b4d160ebb87eb166d (diff) | |
download | dotfiles-8a1a6e410499cbc5c0685287847b290be7ccbba8.tar.gz |
prompt tweak
a single colour is better after all, rather than separating with yellow
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -51,12 +51,8 @@ PROMPT="%{$fg[black]%}┌[" 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 " -# name (red for root) -PROMPT+="%{%(!.$fg[red].$fg[magenta])%}%n" -# host -PROMPT+="%{$fg[yellow]%}@%{$fg[magenta]%}%M%E " +# name and host (red for root) +PROMPT+="%{%(!.$fg[red].$fg[magenta])%}%n@%M%E " # current location, with one level of parent context PROMPT+="%{$fg[blue]%}%2c" # newline @@ -69,10 +65,8 @@ PROMPT="%{%B$fg[white]%}┌[" PROMPT+="%(0?..$fg[red]%?$fg[white]:)" # if any, number of jobs PROMPT+="%(1j.$fg[green]%j$fg[white]:.)" -# name (red for root) -PROMPT+="%{%(!.$fg[red].$fg[magenta])%}%n" -# host -PROMPT+="%{$fg[yellow]%}@%{$fg[magenta]%}%M%E " +# name and host (red for root) +PROMPT+="%{%(!.$fg[red].$fg[magenta])%}%n@%M%E " # current location, with one level of parent context PROMPT+="%{$fg[blue]%}%2c" # newline |