themes/gitstatus: $SSH_CONNECTION could've spaces

pull/2/head
Lin Jen-Shin 11 years ago
parent 72ee1140ec
commit 10f36245d1

@ -20,7 +20,7 @@ function _git_status_symbol
end
function _remote_hostname
if test $SSH_CONNECTION
if test -n "$SSH_CONNECTION"
echo (whoami)@(hostname)
end
end

Loading…
Cancel
Save