Results 1 to 2 of 2

Thread: No uppercase P in bash

  1. #1
    stephanhh NNTP User

    Default 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


  2. #2
    hcvv NNTP User

    Default Re: No uppercase P in bash


    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


    --
    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •