File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -144,3 +144,8 @@ xontrib load powerline2
144144
145145 - ` laerus/cookiecutter-xontrib ` : https://github.com/laerus/cookiecutter-xontrib
146146 - ` santagada/xontrib-powerline ` : https://github.com/santagada/xontrib-powerline
147+
148+ # Similer Projects
149+
150+ - ` jnoortheen/xontrib-powerline3 ` : https://github.com/jnoortheen/xontrib-powerline3
151+ - That is also compatible with ` ASYNC_PROMPT ` !
Original file line number Diff line number Diff line change 99
1010setup (
1111 name = 'xontrib-powerline2' ,
12- version = '1.3 .0' ,
12+ version = '1.4 .0' ,
1313 description = 'Powerline for Xonsh shell' ,
1414 long_description = open ('README.md' ).read (),
1515 long_description_content_type = "text/markdown" ,
Original file line number Diff line number Diff line change @@ -41,7 +41,12 @@ $PL_DEFAULT_COLORS = {
4141 }
4242
4343if ptk2 :
44- $PTK_STYLE_OVERRIDES ['bottom-toolbar' ] = 'noreverse'
44+ # $PTK_STYLE_OVERRIDES is deprecated
45+ # https://github.com/vaaaaanquish/xontrib-powerline2/issues/19
46+ if version .parse (xonsh .__version__ ) < version .parse ("0.9.24" ):
47+ $PTK_STYLE_OVERRIDES ['bottom-toolbar' ] = 'noreverse'
48+ else :
49+ $XONSH_STYLE_OVERRIDES ['bottom-toolbar' ] = 'noreverse'
4550
4651modes = {
4752 'powerline' : '\ue0b0 \ue0b1 \ue0b2 \ue0b3 ' ,
You can’t perform that action at this time.
0 commit comments