Re: PS1 in .bashrc
On Sun, 13 Jul 2003 19:30:10 +0200, Robin Gerard wrote:
> with this PS1 I get:
>
> [18:31 : 0.16]
> [user@machineName 1] ~$
>
> but if I write a very long command the cursor remains on the same line and
> overlaps the prompt.
>From "man bash":
> \[ begin a sequence of non‐printing characters, which could
> be used to embed a terminal control sequence into the
> prompt
> \] end a sequence of non‐printing characters
HTH
--
Best Regards, | Hi! I'm a .signature virus. Copy me into
Sebastian | your ~/.signature to help me spread!
Reply to: