When I change directories in a Ubuntu terminal (in Windows 10), the start of the line shifts as well.


How do I prevent this?

New contributor
Tomer Tzadok is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

It's displaying your current directory... in blue font over blue background.

You can fix this by:

  1. Changing your terminal's background color.
  2. Editing your PS1 prompt. You can either change color of the current path to something different than blue or alter it altogether. There's a lot of resources about this on the Internet, so I'll leave it as an exercise for you.

Your Answer

Tomer Tzadok is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.