Skip to content

Commit

Permalink
Add username@hostname when POWERLINE_DETECT_SSH
Browse files Browse the repository at this point in the history
  • Loading branch information
zakkak committed Jul 17, 2015
1 parent 45999b2 commit bb78a4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions powerline.zsh-theme
Expand Up @@ -128,6 +128,9 @@ if [ "$POWERLINE_DETECT_SSH" != "" ]; then
POWERLINE_SEC1_FG=%F{yellow}
POWERLINE_SEC1_TXT=%F{white}
fi
if [ "$POWERLINE_USER_NAME" = "" ]; then
POWERLINE_USER_NAME="%n@%M"
fi
fi
PROMPT="$POWERLINE_SEC1_BG$POWERLINE_SEC1_TXT $POWERLINE_USER_NAME %k%f$POWERLINE_SEC1_FG%K{blue}"$'\ue0b0'"%k%f%F{white}%K{blue} "$POWERLINE_CURRENT_PATH"%F{blue}"$POWERLINE_GIT_INFO_LEFT" %k"$'\ue0b0'"%f "

Expand Down

0 comments on commit bb78a4c

Please sign in to comment.