bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command prompt disappears when working directory is one whose name e


From: Chet Ramey
Subject: Re: Command prompt disappears when working directory is one whose name ends in a '\' (backslash)
Date: Mon, 17 Nov 2008 07:57:26 -0500

> > Bash Version: 3.2
> > Patch Level: 39
> > Release Status: release
> > 
> > Description:
> >     Command prompt disappears when working directory is one whose name ends
> > in a '\' (backslash)
> > Repeat-By:
> >     Running the following command:
> >         mkdir ./asdf\\ && cd ./asdf\\
> > Fix:
> >     Probably has something to do with the way things are escaped in the
> > default $PS1.
> >     Mine is '${debian_chroot:+($debian_chroot)address@hidden:\w\$' (without 
> > quotes),
> > and I haven't changed it, so I assume its the default.
> 
> This has come up before. I suspect you have something in PROMPT_COMMAND
> that tries to write to an xterm title bar and is confused by the backslash
> at the end of $PWD.

I looked back at the list archives.  If you have the default debian setup, I
think you'll find that all of your output is going to your xterm title bar.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    address@hidden    http://tiswww.tis.case.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]