FG

How do I fix my prompt in emacs shell-mode?

Fresh3 days ago
Mar 15, 202614999 views
Confidence Score0%
0%

Problem

I'm doing some programming on a colleague's machine. He has a version of emacs (23.1.1) I haven't used before. My problem is that when I go to shell-mode, my bash prompt looks like this: I have set to in my . It's supposed to look like this: This is how it looks in a regular shell. I've also checke…

Error Output

^[]0;jay@socrates:~^G[jay@socrates]$

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I fix my prompt in emacs shell-mode?

Low Risk

Your shell is trying to set the XTerm's (or other console) title/header. There are a number of ways this might be being done. First make sure the PS1 is really what you think it is That will tell you if there are control characters in the prompt, le…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment