pull/891/head
Tim Noise 2017-01-30 05:44:55 +11:00
parent 808b6bd253
commit b5e9e2386f
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ function __powerline_user_info_prompt {
fi
;;
*)
if [[ -n "${SSH_CLIENT}" ]] || [[ -n "${SSH_CLIENT}" ]]; then
if [[ -n "${SSH_CLIENT}" ]] || [[ -n "${SSH_CONNECTION}" ]]; then
user_info="${USER_INFO_SSH_CHAR}${USER}@${HOSTNAME}"
else
user_info="${USER}"