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?

Put CODE tags around text when it is code. Select the piece of text and click the # button in the toolbar.

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

Better readable isn’t it :slight_smile: