Skip to content
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

display non-zero exit code #537

Closed
wants to merge 1 commit into from
Closed

Conversation

cizmazia
Copy link

Would you mind adding an option for displaying non-zero exit codes? I am aware that non-zero exit codes are already being indicated by the red prompt sign, however, that is not very legible. Exit codes are valuable while tinkering compound commands. Thanks!

@mafredri
Copy link
Collaborator

Would you consider using the right prompt (RPROMPT) for that?

For example, type this in your terminal and you'll see what I mean:

RPROMPT='%(?..%?)'

Otherwise I'd say this is a feature request pending #460 (i.e. a more modular Pure).

@cizmazia
Copy link
Author

Thanks for your response!

My reason for switching to Pure was that it does not use RPROMT. I will wait for the feature then.

@cizmazia cizmazia closed this Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants