Forum Archive

Change StaSh's path color

jschw

Does anyone know if it is possible to change the color of the path before the $ sign separately?
It's really annoying to read the former output of scripts which create a lot of output and all the text is colored white without other colors as "separators"...

Greetings, Julian

JonB

in system/shruntime.py, see the last line of
get_prompt

It might also be posssible use ascii codes in the environ PROMPT

jschw

That's exactly what I was looking for - thank you! :)

Note: After I changed the color in shruntime.py, I had to restart pythonista (swipe up in the task switcher). The changes didn't take effect only by closing and relaunching StaSh.