delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/04/04:14:42

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 4 May 2001 09:14:31 +0100 (GMT Daylight Time)
From: "Sagar R. Shah" <Sagar DOT Shah AT sid DOT cam DOT ac DOT uk>
To: <cygwin AT cygwin DOT com>
Subject: More bizzare Bash-2.04-5 auto-completion problems
Message-ID: <Pine.WNT.4.33.0105040904110.-436007@srs29.sid.cam.ac.uk>
X-X-Sender: srs29 AT imap DOT hermes DOT cam DOT ac DOT uk
MIME-Version: 1.0

Hi All

I am also suffering from the problem of not being able to use bash to
autocomplete script names of scripts that are in my path.

But before this becomes a 'me too' post, i've also noticed something else.
When i do:

S<tab><tab>

I get:

SAMPLES       SETVER.EXE    SORT.EXE      SVUNINST.EXE  SendTo
SCANDISK.EXE  SIGVERIF.EXE  SRS           SYS.COM       ShellNew
SCANDSKW.EXE  SMARTDRV.EXE  ST5UNST.EXE   SYSBCKUP      Start Menu
SCANREG.EXE   SNDREC32.EXE  START.EXE     SYSMON.EXE
SCANREGW.EXE  SNDVOL32.EXE  SUBST.EXE     SYSTEM
SETDEBUG.EXE  SOL.EXE       SULFNBK.EXE   SYSTEM32

Now as well as including EXEs which should be there, there are also
subdirectories of folders that are in my path.

The above command was executed from $HOME. But, for example, SendTo and
Start Menu are both subdirectories of /c/WINDOWS. And SRS is a subdirectory
of my /c/WORK/RELEASE/LIB

Should bash be doing this?  I tried the same on a linux box (which was
running an older verison of bash) and it doesn't.

I can't see any benifit of autocompleting directory names before a command
has first been entered. (ie. i agree that  cd S<tab><tab>  should list
sub-directories of the current directory).

Sagar

---------------------------------
Sagar R. Shah
http://www.netnexus.co.uk/
http://www.netnexus.uklinux.net/
---------------------------------



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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