Skip to content

Commit

Permalink
Changed user@hostname condition. This fixes #7.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluekrow committed Jan 29, 2018
1 parent 6145bed commit 83d5117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/agnoster.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 83d5117

Please sign in to comment.