This commit is contained in:
Jose Angel 2018-03-18 21:37:11 +00:00 committed by GitHub
commit dfae6d4af3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,7 @@ prompt_end() {
# Context: user@hostname (who am I and where am I)
prompt_context() {
if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
prompt_segment black default "%(!.%{%F{yellow}%}.)$USER@%m"
prompt_segment magenta default "%(!.%{%F{yellow}%}.)$USER@%m"
fi
}
@ -187,7 +187,7 @@ prompt_hg() {
# Dir: current working directory
prompt_dir() {
prompt_segment blue black '%~'
prompt_segment blue default '%~'
}
# Virtualenv: current working virtualenv