No uppercase P in bash

Hi,

I changed my prompt with
PS1="${_t}${_u}: $(spwd)${_p}>"
in .bashrc. Now I cannot enter an uppercase P.
I can’t even copy it with the mouse!

This makes changing into a directory that starts with P quite a
challenge. I found out that I can do
>tcsh
then change to the desired directory (because P now works) and then
open a new terminal tab - it opens with bash in the current directory.

Any hints appreciated.

Thanks, Stephan

PS: I had to insert a whitespace between : and \ in PS1, otherwise it
was displayed as a Smily. Is there a better way to avoid that?


stephanhh

stephanhh’s Profile: http://forums.opensuse.org/member.php?userid=12638
View this thread: http://forums.opensuse.org/showthread.php?t=404370

stephanhh;1923722 Wrote:
> Hi,
> PS: I had to insert a whitespace between : and \ in PS1, otherwise it
> was displayed as a Smily. Is there a better way to avoid that?
Put CODE tags around text when it is code. Select the piece of text and
click the # button in the toolbar.

Code:

PS1="${_t}${_u}:$(spwd)${_p}>"

Better readable isn’t it :slight_smile:


Henk van Velden

hcvv’s Profile: http://forums.opensuse.org/member.php?userid=180
View this thread: http://forums.opensuse.org/showthread.php?t=404370