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

Escape colores in bash prompt #30

Closed
wants to merge 1 commit into from

Conversation

sshnaidm
Copy link

Unescaping colors in bash prompt causes problems with scrolling
history in bash prompt. you can see leftovers from previous
commands when going back by history.
All colors in command prompt should be escaped with [ ]

Unescaping colors in bash prompt causes problems with scrolling
history in bash prompt. you can see leftovers from previous
commands when going back by history.
All colors in command prompt should be escaped with \[ \]
@dustinkirkland
Copy link
Owner

Great catch! Thanks. Merged your patch. Will be in 5.128.

dustinkirkland added a commit that referenced this pull request Mar 19, 2019
  - Unescaping colors in bash prompt causes problems with scrolling
    history in bash prompt. you can see leftovers from previous
    commands when going back by history.
    All colors in command prompt should be escaped with [ ]
  - #30
@sshnaidm
Copy link
Author

@sshnaidm sshnaidm closed this Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants