[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash 4.2.53 cursor position bug
From: |
Charles Daffern |
Subject: |
Re: Bash 4.2.53 cursor position bug |
Date: |
Sat, 4 Jul 2015 02:54:26 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
On 03/07/15 23:09, Chet Ramey wrote:
> [...] the weird `/~' at the beginning of your prompt.
On 03/07/15 03:59, gam wrote:
> PS1="\W\$ "
> 1. Type a short input line
> /~$ just a line for illustration
Maybe your $PROMPT_COMMAND is hiding something nasty. If it is printing
that slash, then it needs to be changed. The behaviour you're seeing is
consistent with what you'd see if something is printing a slash before
PS1 is printed.
If you only see that slash on the first line of the bash session, it
could be something inside the rc/profile files giving output unexpectedly.
signature.asc
Description: OpenPGP digital signature