bash 3.x path completion problems

burning shadow burning.shadow@gmail.com
Tue May 30 16:51:00 GMT 2006


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/



More information about the Cygwin mailing list