puntonim / promptastic

A fantastic prompt for Bash

Home Page:http://painl.es/promptastic/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option -o in Segments/Jobs causes errors in Cygwin

opened this issue · comments

I know this is probably not in your expected use cases, but I'm using Promptastic in Cygwin, which uses a stripped-down version of the ps command that doesn't have a -o option. As a result, the ps command in sysinfo.py: line 19 generates errors that appear every time a new prompt is displayed. It's only an annoyance, so I'd understand if this is low priority, but the fix seems like it would be simple. Just redirect stderr to /dev/null temporarily, perhaps?

In any case, I hope you might alter the relevant code to handle this case. If you need any further information on this issue, I'll be happy to respond.