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.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to