delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/20/00:36:51

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=B2kxCSDU/6xmW9w5
fE8o3b6V35W8iOzFKhSVBAYebo2cR1uWEvNVa5awl8m+jyW8ojuO5rumobPHIJW8
Qax88+mb/5KT5UZBcKVH5V7Aqz7MEZxd8DgC6f/x0vreLz4wucdNhJ8tpvIvQV08
ROLLMkSg20UMIn5y7Sxv2EVjSKE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=e0TJKZ4XPcBhTz5vR6bLwN
Vu3Cc=; b=WAG7TvM7qOvr0s9D117fBQOC26cbqwlOUymcyU+VnYNuyKeW3EpAnb
1uAPEWfMg/hbY9p3DR7seuPZ/Wpj45xVcL0FfmH2MVaVw3vAlZOVCyvxcaUsAIwN
QFpCvooFxCEUL+DKfWpi9fBKkd4TD3dwu0Z854AM9upnDCOAsS4mY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Sat, 20 Sep 2014 08:27:34 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <357201998.20140920082734@mtu-net.ru>
To: "Paul.Domaskis" <Paul DOT Domaskis AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: No file name completion for file names start with underscore
In-Reply-To: <loom.20140919T233113-212@post.gmane.org>
References: <loom DOT 20140918T010225-301 AT post DOT gmane DOT org> <loom DOT 20140918T011028-898 AT post DOT gmane DOT org> <loom DOT 20140918T012259-677 AT post DOT gmane DOT org> <20140918000242 DOT GA17489 AT phoenix> <CACUHbYP+hmbvkVK_dO_C6H3QMLO3zGH+sK2fSovHox3XLUsWUQ AT mail DOT gmail DOT com> <lvf9re$l0j$1 AT ger DOT gmane DOT org> <loom DOT 20140918T223627-193 AT post DOT gmane DOT org> <20140918221943 DOT GA22077 AT phoenix> <loom DOT 20140919T233113-212 AT post DOT gmane DOT org>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Paul.Domaskis!

>> David is right:  find does accept a file name as the path argument.
>> I didn't know that.  (Obviously.)  The man page doesn't really say,
>> but all references to the path argument suggest that it contains a
>> directory or list of directories.
>>
>> Nevertheless, the completion function for find (_find(), in
>> /etc/bash_completion.d/findutils or
>> /usr/share/bash-completion/completions/find) does expect that
>> argument to be a directory and expands only directories.

> I think I will need to deepen my knowledge into the bowels of unix.
> This thread is the first I've heard that completion depended on the
> command being typed.  Thanks, all.

That's the reason for bash-completion package.
If you remove it, then the completion will fall back to generic behavior.


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 20.09.2014, <8:26>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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