From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 60854 invoked by alias); 14 Oct 2015 18:49:26 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 60840 invoked by uid 89); 14 Oct 2015 18:49:26 -0000 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 Received: from mail-wi0-f173.google.com (HELO mail-wi0-f173.google.com) (209.85.212.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 14 Oct 2015 18:49:25 +0000 Received: by wieq12 with SMTP id q12so97097643wie.1 for ; Wed, 14 Oct 2015 11:49:22 -0700 (PDT) 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) Received: from Wheatley.local ([88.97.107.167]) by smtp.gmail.com with ESMTPSA id hd1sm20404851wib.5.2015.10.14.11.49.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Oct 2015 11:49:20 -0700 (PDT) Message-ID: <561EA3AF.9080507@dinwoodie.org> Date: Wed, 14 Oct 2015 18:49:00 -0000 From: Adam Dinwoodie 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 X-SW-Source: 2015-10/txt/msg00170.txt.bz2 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