💻 Software
Cygwin bash prompt is wrapping lines on the same line
Fresh5 days ago
Mar 15, 202631862 viewsConfidence Score1%
1%
Problem
I'm using Cygwin bash prompt, and for long commands the text will wrap around on the same line as opposed to going to the next line despite setting my PS1 to simply ' $'. Here's a screenshot,
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Cygwin bash prompt is wrapping lines on the same line
Low Risk
I was already using MinTTY, and removing the newline in PS1 didn't help either. One piece of advice on this page did help. I executed this bash command: In my case, running this once fixed the issue, even after logging out and back in. I'm not sure if this is always the case.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix