File name completion on symbolic links

Lynn Wilson lynn@swcp.com
Mon Sep 29 14:43:00 GMT 2003


This is a very minor issue and it may be just a Bash problem, but...

When I use Bash to do file name completion (using Tab) on a DIRECTORY 
that is a symlink I do not get the trailing slash '/'.

If it's a real directory, the TAB results in the completion of the 
directory name with an appended slash.  If it's a symlink, I get the 
directory name but NO slash.

This is the part of my mount table that may be of interest:

c:\program files on /PF type system (binmode)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /c type system (binmode)
d: on /d type system (binmode,noumount)


cd /c
c> ls -ald Sources Public
drwxr-xr-x+   4 lrwilso  mkgroup      4096 Aug 13 11:28 public/
lrwxrwxrwx    1 lrwilso  mkgroup       100 Aug 13 09:52 Sources -> 
/d/Sources


ls pub<tab>  yields  "ls public/"
ls  Sou<tab> yields "ls Sources"

any insight?

Lynn





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