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

Prompt char color based on exit code of last command #3

Open
piotrekfus91 opened this issue Aug 3, 2021 · 3 comments
Open

Prompt char color based on exit code of last command #3

piotrekfus91 opened this issue Aug 3, 2021 · 3 comments

Comments

@piotrekfus91
Copy link

Hi,
first of all - great job, I like your theme very much.

I think about improvement - what do you think about changing prompt char (lambda of course) based on the result code of last command? I know that this is shown in the right prompt, but during every day work on terminal it's hard to notice this red color on the right side of the monitor. What do you think about that?

@ipatch
Copy link
Owner

ipatch commented Aug 3, 2021

i'm not opposed. i believe the default fish theme does this when the last cmd exits with a non zero status.

however, it's not something i'll get to right away, but i'll attempt to maybe make new branch that experiments with such feature. 🤞

thanks for the suggestion.

@piotrekfus91
Copy link
Author

I'm going on vacation soon, but in the end of August I can prepare some PR, if you want.

@ipatch
Copy link
Owner

ipatch commented Aug 4, 2021

sure, that'd be great. 👍

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

No branches or pull requests

2 participants