[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Command prompt disappears when working directory is one whose name ends
From: |
Jonathan Plafker |
Subject: |
Command prompt disappears when working directory is one whose name ends in a '\' (backslash) |
Date: |
Sat, 15 Nov 2008 11:52:46 +0800 |
Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL
-DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -g -O2
-Wall
uname output: Linux hp-ubuntu 2.6.24-18-generic #1 SMP Wed May 28 20:27:26
UTC 2008 i686 GNU/Linux
Machine Type: i486-pc-linux-gnu
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)}\u@\h:\w\$' (without quotes),
and I haven't changed it, so I assume its the default.
- Command prompt disappears when working directory is one whose name ends in a '\' (backslash),
Jonathan Plafker <=