<reponame>dflock/powerline-shell<filename>segments/ssh.py<gh_stars>0
import os


def add_ssh_segment():
    if os.getenv('SSH_CLIENT'):
        powerline.append(' %s ' % powerline.network, Color.SSH_FG, Color.SSH_BG)

add_ssh_segment()

import os


def add_ssh_segment():
    if os.getenv('SSH_CLIENT'):
        powerline.append(' %s ' % powerline.network, Color.SSH_FG, Color.SSH_BG)

add_ssh_segment()