From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 66184 invoked by alias); 14 Oct 2015 15:53:05 -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 66170 invoked by uid 89); 14 Oct 2015 15:53:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-lf0-f51.google.com Received: from mail-lf0-f51.google.com (HELO mail-lf0-f51.google.com) (209.85.215.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 14 Oct 2015 15:53:02 +0000 Received: by lfaz124 with SMTP id z124so14726701lfa.1 for ; Wed, 14 Oct 2015 08:52:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:reply-to :mime-version:content-type:content-disposition:user-agent; bh=mt2eYf9B3Vemd5cpDjU1BkPDxMVnHUNeSeJhlJ1sijw=; b=KZzz4JsS0A1YR3FFYRIbYkdcnhwDwYNTZYt/g1LKBBUqP2KH2VfZz1vFgrh22IUlpo fx/6Y9eEZxoHQhsjr82H7H92drPint922Bx6sd4huJzZBpYq0hykmi5i/w7YzT29FsLi MQ+XGSQeDT+KdKseqwoRFfzKPjPUx9vZqtqSd81H8uNO4nDHVddXO64NkpwCP4klRPGC 4UeILdiv/sJ3NGB1iOZzGjPdJVxzYU5VyfREEN93Z/znyF4CyCE4LUbTPv5vE3lVnAij bRysVSiVFWRfdHmedKw4ZX1UJZIa841s/rtJtvBqnfrYWhAZ0kOoaIKE3Wt+1HVI1tSd YNfA== X-Gm-Message-State: ALoCoQnyuBwYMgjjyA4WIyhWxNAgClt9pL+oFrLj/eoy8WXa+7Y4f6c3b/KbMtZ70mbiYCXHCxOC X-Received: by 10.194.114.199 with SMTP id ji7mr4788166wjb.19.1444837979015; Wed, 14 Oct 2015 08:52:59 -0700 (PDT) Received: from dinwoodie.org ([2001:ba8:0:1c0::9:1]) by smtp.gmail.com with ESMTPSA id hk5sm10821801wjb.6.2015.10.14.08.52.58 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 14 Oct 2015 08:52:58 -0700 (PDT) Date: Wed, 14 Oct 2015 15:53:00 -0000 From: Adam Dinwoodie To: cygwin@cygwin.com Subject: [Attn: base-files maintainer] Changing /etc/profile to add more shell-dependent settings Message-ID: <20151014155256.GN14466@dinwoodie.org> Reply-To: cygwin@cygwin.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00162.txt.bz2 Achim, The /etc/defaults/etc/profile file in base-files has a section at the end to import scripts in /etc/profile.d, but this currently only works with zsh. Can this section be expanded to make calls as appropriate for other shells? I'm particularly interested in Fish and Bash, although I don't see any reason to limit the change to those shells. I care about this because I'm currently investigating packaging fzf[0]. The obvious way to include the shell-specific keyboard shortcuts for fzf is to add them to /etc/profile.d, but currently that only works for Z-Shell. I'm happy to provide a patch if that'd make things easier. Adam [0]: https://github.com/junegunn/fzf -- 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