mind changing to `[[ "$SSH_CONNECTION" != '' ]] && username='%n@%m '` while you're at it?