fixed ssh detection on el for powerline
parent
e8b130a277
commit
808b6bd253
|
|
@ -21,7 +21,7 @@ function __powerline_user_info_prompt {
|
|||
fi
|
||||
;;
|
||||
*)
|
||||
if [[ -n "${SSH_CLIENT}" ]]; then
|
||||
if [[ -n "${SSH_CLIENT}" ]] || [[ -n "${SSH_CLIENT}" ]]; then
|
||||
user_info="${USER_INFO_SSH_CHAR}${USER}@${HOSTNAME}"
|
||||
else
|
||||
user_info="${USER}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue