mirror of
https://github.com/powerline/powerline.git
synced 2025-07-24 06:15:41 +02:00
commit
4d408c7c78
@ -53,6 +53,11 @@ class Args(object):
|
|||||||
except IndexError:
|
except IndexError:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
@property
|
||||||
|
def jobnum(self):
|
||||||
|
zsh.eval('integer POWERLINE_JOBNUM=${(%):-%j}')
|
||||||
|
return zsh.getvalue('POWERLINE_JOBNUM')
|
||||||
|
|
||||||
|
|
||||||
def string(s):
|
def string(s):
|
||||||
if type(s) is bytes:
|
if type(s) is bytes:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user