delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/30/01:07:04

X-Spam-Check-By: sourceware.org
Date: Thu, 30 Mar 2006 14:06:46 +0800
To: cygwin AT cygwin DOT com
Subject: tail after tab completion in prompt
From: "William Xue" <william DOT xue AT gmail DOT com>
MIME-Version: 1.0
Message-ID: <op.s67pxkxlhkv0w5@williamxue>
User-Agent: Opera Mail(BETA2)/9.00 (Win32)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,
Please let me describe the issue for you:
After set the PS1 in .bashrc to :
---8<--------------------------------------------->8---
PS1="\[\e]2;\w  --  \s\V@\l@\H  hangsps:\j    \d   
\t\a\]\[\e[31;1m\][\[\e[36;1m\]\u@\h  
\[\e[33;1m\]\W\[\e[31;1m\]]\[\e[34;1m\]\[\e[32;1m\]\$ \[\e[37;1m\]"
---8<--------------------------------------------->8---

If type "ls /usr/src" twice, it will show "ls /usr/src/usr/src".

Is there something wrong in the PS1? And how can I fix this issue?

Advance Thanks!
-- 
William

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019