delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/30/12:40:26

X-Spam-Check-By: sourceware.org
Message-ID: <83c75fec0605300940s4bb1363s5aa58d8b42e195c3@mail.gmail.com>
Date: Tue, 30 May 2006 20:40:12 +0400
From: "burning shadow" <burning DOT shadow AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: bash 3.x path completion problems
MIME-Version: 1.0
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

Since version 3 bash has problems with path completion. For example,
here's directory listing:

shadow:~/tmp$ ls -la
total 1
drwxr-xr-x+  4 shadow None   0 May 30 20:41 .
drwxr-xr-x+ 10 shadow root   0 May 29 20:34 ..
drwxr-xr-x+  8 shadow None   0 Apr 26 22:16 games
drwxr-xr-x+  5 shadow None   0 May 30 20:42 qqq
-rwx------   1 shadow None 208 Apr  6 20:04 s

shadow:~/tmp$ ls -la qqq
total 1
drwxr-xr-x+ 5 shadow None  0 May 30 20:42 .
drwxr-xr-x+ 4 shadow None  0 May 30 20:41 ..
drwxr-xr-x+ 2 shadow None  0 May 30 20:41 162567asd
-rw-r--r--  1 shadow None 12 May 30 20:42 qqq.txtx
drwxr-xr-x+ 2 shadow None  0 May 30 20:41 qwter
drwxr-xr-x+ 2 shadow None  0 May 30 20:42 wqyteuqt
shadow:~/tmp$

Now I'm entering "cd q" and pressing Tab 1 time. I get what I expected:

shadow:~/tmp$ cd qqq/

Now I'm pressing Tab 2 times and get this:

shadow:~/tmp$ cd qqq/
162567asd/ qqq.txtx   qwter/     wqyteuqt/
shadow:~/tmp$ cd qqq/qq/

The problem is that 'qqq/qq/' thing. This was never happened to bash 2.05b.

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