homes/common/.local/lib/python2.7/site-packages/powerline/segments/ipython.py
2013-05-02 18:11:33 +02:00

8 lines
192 B
Python

# vim:fileencoding=utf-8:noet
from powerline.theme import requires_segment_info
@requires_segment_info
def prompt_count(pl, segment_info):
return str(segment_info['ipython'].prompt_count)