-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Request: display pipestatus when any exit codes are non-zero #34
Comments
I just got back from a trip; I'll try to come up with an answer for you in the next few days. |
@AndydeCleyre I just realized that I never got back to you about this! Forgive me. I think what you're looking for is
In other words, if I like that so much that I think I'll use it in my custom prompt. If I still like it in a few weeks, perhaps I'll make it a standard feature. |
I just realized it's not that simple, is it? The prompt prints correctly, but then Let me look into this a bit more deeply. |
OK, here's the code you can use until I build this feature into the prompt:
and then add to your custom prompt
Later I’ll make it so that it changes colors. |
Here we go: green when the last result is 0, red otherwise:
|
I'm looking for a change like the following (but this doesn't work and I'm not sure why):
Here's how something similar looks in p10k:
I don't know if it would be better to implement in a way that can be toggled or not; I would want this always enabled.
The text was updated successfully, but these errors were encountered: