Changed user@hostname condition. This fixes #7.

This commit is contained in:
unknown 2018-01-30 00:19:32 +01:00
commit 83d51179c9

View file

@ -79,7 +79,7 @@ prompt_end() {
# Context: user@hostname (who am I and where am I)
prompt_context() {
if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
if [[ "$USER" != "$DEFAULT_USER" ]]; then
prompt_segment black default "%(!.%{%F{yellow}%}.)$USER@%m"
fi
}