Returns the name and version of the current shell

def info(self):
        """Returns the name and version of the current shell"""
        proc = Popen(['fish', '--version'],
                     stdout=PIPE, stderr=DEVNULL)
        version = proc.stdout.read().decode('utf-8').split()[-1]
        return u'Fish Shell {}'.format(version)