mirror of
https://github.com/powerline/powerline.git
synced 2025-07-28 16:24:57 +02:00
Fix issues with the terminal prompt example
This commit is contained in:
parent
08695540da
commit
a532da4834
@ -1,10 +1,11 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
'''Powerline terminal prompt example.
|
'''Powerline terminal prompt example.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
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.core import Powerline, Segment
|
||||||
from lib.renderers import TerminalSegmentRenderer
|
from lib.renderers import TerminalSegmentRenderer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user