Skip to content
Snippets Groups Projects
Commit 10f36245 authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

themes/gitstatus: $SSH_CONNECTION could've spaces

parent 72ee1140
Branches
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment