delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/10/14/14:49:40

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: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 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=-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 AT dinwoodie DOT 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 AT cygwin DOT com
Subject: Re: [Attn: base-files maintainer] Changing /etc/profile to add more shell-dependent settings
References: <20151014155256 DOT GN14466 AT dinwoodie DOT org> <876129s86w DOT fsf AT Rainer DOT invalid> <20151014171400 DOT GP14466 AT dinwoodie DOT org> <85116059 DOT 20151014212702 AT yandex DOT ru>
In-Reply-To: <85116059.20151014212702@yandex.ru>
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

- Raw text -


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