Hi Paul,
Paul Wise wrote:
> export PROMPT_COMMAND='__git_ps1 "\[\e]0;\u@\h: \w\a\]\u@\h\ \w" " \\\$ "'
>
> I switched from editing PS1 to PROMPT_COMMAND because it gets me the new
> colour stuff in the git part of my prompt, it looks like this in xterm:
>
> pabs@chianamo ~ $
>
> When I login on a virtual console (with TERM=linux), I get this instead:
>
> ;pabs@chianamo: ~pabs@chianamo ~ $
>
> I think it should look the same under TERM=xterm and TERM=linux.
Doesn't the same thing happen if you just do
export PS1='\[\e]0;\u@\h: \w\a\]\u@\h\w$ '
? What was your (working) prompt before this change?
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]