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

Fixes bash prompt #69

Merged
merged 1 commit into from
Aug 18, 2021
Merged

Fixes bash prompt #69

merged 1 commit into from
Aug 18, 2021

Conversation

clcollins
Copy link
Member

@clcollins clcollins commented Aug 17, 2021

There was an issue possibly introduced in #62 caused by non-printing characters that is causing the prompt to be unaware of it's length. This is causing pasted or lines scrolled through the history to have inconsistent placement and unpredictable behavior.

This fix should keep the same prompt layout and colors, but fix the non-printing character issue.

Signed-off-by: Christopher Collins [email protected]

@clcollins clcollins changed the title Fixed bash prompt Fixes bash prompt Aug 17, 2021
@georgettica
Copy link
Contributor

seems this makes the kube-ps1 to not show up.. any idea why?

 This fix should keep the same prompt layout and colors, but fix the non-printing character issue.

Signed-off-by: Christopher Collins <[email protected]>
@clcollins
Copy link
Member Author

clcollins commented Aug 18, 2021

@georgettica Good catch. I think I dropped a \ before the $(kube_ps1). Mind trying again?

EDIT: Scratch that. I need to do some more testing.

@clcollins clcollins added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 18, 2021
@georgettica
Copy link
Contributor

Works ok, building with no cache now to verify

@georgettica
Copy link
Contributor

Works :)

@georgettica
Copy link
Contributor

/unhold
/lgtm

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 18, 2021
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 18, 2021
@georgettica georgettica merged commit eee425f into openshift:master Aug 18, 2021
@clcollins clcollins deleted the prompt_fix branch December 8, 2022 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants