Fix issues with the terminal prompt example

This commit is contained in:
Kim Silkebækken 2012-11-17 16:42:28 +01:00
parent 08695540da
commit a532da4834
1 changed files with 3 additions and 2 deletions

View File

@ -1,10 +1,11 @@
#!/usr/bin/env python
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
'''Powerline terminal prompt example.
'''
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), '../..'))
sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
from lib.core import Powerline, Segment
from lib.renderers import TerminalSegmentRenderer