🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: uk.comp.os.linux
5 messages
5 total messages Started by John Ineson Wed, 28 Mar 2001 00:24
case insensitive tab completion with bash
#99784
Author: John Ineson
Date: Wed, 28 Mar 2001 00:24
13 lines
401 bytes
Does anyone know how to make the above happen?

I've tried "shopt -s nocaseglob" and it makes bugger all difference:
for example say I type "ls /etc/x" and press the tab key - I want it
to suggest X11, but it doesn't. Am I misinterpreting what this option
does or is summit broke?

I've tried several different systems, running bash 2.03, 2.038 and
2.04 - no joy with any of them.

--
John G Ineson

Re: case insensitive tab completion with bash
#99811
Author: pm@zetnet.net (P
Date: Wed, 28 Mar 2001 10:57
21 lines
554 bytes
In article <LB=BOiRCbgeL=7ZfieuKLQNrPdfo@4ax.com>,
	John Ineson wrote:
>Does anyone know how to make the above happen?

>I've tried "shopt -s nocaseglob" and it makes bugger all difference:
>for example say I type "ls /etc/x" and press the tab key - I want it
>to suggest X11, but it doesn't. Am I misinterpreting what this option
>does or is summit broke?

>I've tried several different systems, running bash 2.03, 2.038 and
>2.04 - no joy with any of them.

Put

 set completion-ignore-case On

in your .inputrc file.

--
Paul Martin <pm@zetnet.net>

Re: case insensitive tab completion with bash
#99832
Author: John Ineson
Date: Wed, 28 Mar 2001 18:02
14 lines
252 bytes
On 28 Mar 2001 10:57:25 GMT, pm@zetnet.net (Paul Martin) wrote:
>Put
>
> set completion-ignore-case On
>
>in your .inputrc file.

Thanks - that did it (once I unset $INPUTRC)

So does anyone know what does "shopt -s nocaseglob" do?

--
John G Ineson

Re: case insensitive tab completion with bash
#99875
Author: pm@zetnet.net (P
Date: Thu, 29 Mar 2001 00:28
20 lines
375 bytes
In article <cBjCOiPnbhPehW3EmKMzPXL1WSo0@4ax.com>,
	John Ineson wrote:
>On 28 Mar 2001 10:57:25 GMT, pm@zetnet.net (Paul Martin) wrote:
>>Put
>>
>> set completion-ignore-case On
>>
>>in your .inputrc file.

>Thanks - that did it (once I unset $INPUTRC)

>So does anyone know what does "shopt -s nocaseglob" do?

man bash

That's what I did.

--
Paul Martin <pm@zetnet.net>

Re: case insensitive tab completion with bash
#99880
Author: John Ineson
Date: Thu, 29 Mar 2001 03:06
18 lines
413 bytes
On 29 Mar 2001 00:28:45 GMT, pm@zetnet.net (Paul Martin) wrote:
>In article <cBjCOiPnbhPehW3EmKMzPXL1WSo0@4ax.com>,
>	John Ineson wrote:
>>So does anyone know what does "shopt -s nocaseglob" do?
>
>man bash
>
>That's what I did.

Me too, but I didn't understand it. Having read the section on
Pathname Expansion (which isn't what I thought it was) I think I get
it now.

Thanks for your help.

--
John G Ineson

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads