New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose prompt character color variables #115
Conversation
Not sure about |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe better to expose other settings, like prefix or suffix?
Sorry, I don't understand. Is this about variable names or the variables itself ? |
@sfarzy I'm not sure about variable names. However, |
Any suggestions ? |
This bash scripting guide calls it successful/unsuccessful. I would not seperate CHAR and COLOR since seperated they dont make sense (e.g. |
Well, my thoughts about this:
I propose to discuss this a bit more and release this feature with |
Prompt character colors can be modified as below
SUCCESS_COLOR
: Prompt character color if last command succeedsFAILURE_COLOR
: Prompt character color if last command returns non-zero exit-codeSECONDARY_COLOR
: Secondary prompt character colorClose #98