X-Recipient: archive-cygwin@delorie.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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=QyjEZB2wEnTqGsX+2sICTqMCVY8trFZzSCQXqmZ2nlm
	qCTd+JxeBiqLMvkrccIDTmJGtf5XYkVqGDqyvlFbZoEuI7JHREYZ4SXXr1wewad1
	yu0mErrFMaq52k/2C+MIeZDHB13QH5cZJZdys0Xlhhi+BdLXPj6/r/3O29mdShks
	=
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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=K4mxLFwrOPQgMRxVCT54x/UAL/E=; b=WgJ771t83JdRffuxh
	jfeH7eeq3+KNtbZ4kNNZnzWcJ0iRFxYQl9NKzZP7yASWeqvBaWLILX6CHZYYSfGz
	zbiRl9u6SGYtyDUFC7kFYXZDe9kBHJego1KkkUmC37FXJG9s5AIvfCjDIKjCNzy3
	bS0OMFlhKa2sEMpJPytSv3AjUo=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=BAYES_05,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f173.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to         :subject:references:in-reply-to:content-type         :content-transfer-encoding;        bh=ofo/4utpoH9+HZgfBcRTttot36u1k4Hre5Z7WnyX5Z0=;        b=CjVfIT642/I8UINdFBCBZl6QjPoli/SHWh/LaEnkVSNep+LovfvyMKEFWROy7XmyNX         lFWJsgJtJLDyV5Is6MwVqA7SvVGNGjwKPPF6Q6yyDYf7neNjNybIe5kiy1hbywDKleSS         ClD1flONsKuRYKV5FavWydfJydoil2it5gUhZhRRp8OJVeHBX7lE3+0LF3wdnp8xUDrw         OMat1a4+fWUNoTeK7gpoHzP5z+wQ7ix2jRgSWL1YxxPBcA9qLOvnMMZN3AdgMtusZRSM         RjQ4VUw4OHBUXZ3luYPkqlTQBnlNnB2XP0jt8g2eaQWWN671onEfI1pJx1TFKlNFhn3O         MlHw==
X-Gm-Message-State: ALoCoQmE1wrpFa0JWpOtCdxBXk3VLmIeYmX5g0AZjbKkgNvfab5lo73Xc6J9Cqh+Yf1T3Ow59J0B
X-Received: by 10.180.11.212 with SMTP id s20mr6140626wib.40.1444848562009;        Wed, 14 Oct 2015 11:49:22 -0700 (PDT)
Message-ID: <561EA3AF.9080507@dinwoodie.org>
Date: Wed, 14 Oct 2015 19:49:19 +0100
From: Adam Dinwoodie <adam@dinwoodie.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [Attn: base-files maintainer] Changing /etc/profile to add more shell-dependent settings
References: <20151014155256.GN14466@dinwoodie.org> <876129s86w.fsf@Rainer.invalid>   <20151014171400.GP14466@dinwoodie.org> <85116059.20151014212702@yandex.ru>
In-Reply-To: <85116059.20151014212702@yandex.ru>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 14/10/2015 19:27, Andrey Repin wrote:
> Greetings, Adam Dinwoodie!
>> That, however, doesn't give me anywhere to put the Bash fzf script.
>> It's not POSIX compliant, so I don't want to use ".sh".  I can't
>> find any directory other than /etc/profile.d that Bash trawls, though.
> If my opinion matters, I would advocate making scripts POSIX compliant, unless
> there's strong reason to explicitly require shell-dependent functionality.

The script is fundamentally dependent on Bash features -- it's binding 
keys in the Bash interactive shell -- and cannot be made POSIX compliant.

It's also part of the fzf project, and making extensive changes like 
that as part of packaging someone else's code seems to rather negate the 
point in doing the packaging.

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

