delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/01/12:22:22

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
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A799B3F.AED7AAE6@yahoo.com>
Date: Thu, 01 Feb 2001 12:22:07 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: klaus DOT berndl AT sdm DOT de
CC: Foghdayan AT catena DOT nl, cygwin AT cygwin DOT com
Subject: Re: AW: FAQ command line completion in bash
References: <C9A98ED35114D31197D000805FEA668E027B1920 AT mucexch DOT muc DOT sdm DOT de>

klaus DOT berndl AT sdm DOT de wrote:
> 
> >The cygwin FAQ states that
> >shopt -o nocaseglob
> >will remove case sensibility in command-line completion under bash.
> >This was not enough for my bash2.04 with cygwin1.1.7,
> >but it is now fine when there is also
> >set completion-ignore-case on
> >in my ~/.inputrc
> 
> set completion-ignore-case on
> in the ~/.inputrc is enough, the
> shopt -s nocaseglob
> has no effect and is not necessary(at least with Cygwin 1.1.7
> and latest bash)
> 

shopt -s nocaseglob

This shell builtin command ignores case for wildcard matching within the
filesystem names.  Therefore if set and I have a file Foobar and a file
foobar2, then when I do `ls f*' I see both Foobar and foobar2 listed. 
If not set the I would only see foobar2 listed.

set completion-ignore-case on

This is an option to control the readline library.  The readline library
is what reads the .inputrc file.  The readline library is also where
command line completion happens.  This option tells readline to complete
the filenames regardless of case.  This is completely unrelated to
globbing.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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