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:to:subject:message-id:reply-to :mime-version:content-type; q=dns; s=default; b=lOySkXvZXHPtUIqW OPOUOSsQygGyeY7QkM8xrxiqWE/U5v36hNOmhKAmKzNNRmKF2P6WWqxkpcxuG6tW g2H0S0nfxFXOsd09mXwPTip0vhZCu6/CCeFXxFMenupZ435rdM65vEaBjFtMvXl+ eeDhcWiYUwR3ZHmyAr3rSZBJ6C4= 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:to:subject:message-id:reply-to :mime-version:content-type; s=default; bh=5jmGSkNtCwhZ4dJwjVWkdp +kTUM=; b=wlQxZNzxC4fjLqQj/zwUNzP7MTbEwdxogD2Pm2bTHj+8YGod/mQHWw En34BzLIDQL6VtGFCuJuBWOEEW5yKhrNJHbQ6/vFptaeNsQrSUlLoF0X81x5k+3n rf523gVngvBTz1BBiOiuZGYXWxA2A42EPPmp+RvXYqOhsfONnHIjo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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 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) Date: Wed, 14 Oct 2015 16:52:56 +0100 From: Adam Dinwoodie To: cygwin AT cygwin DOT com Subject: [Attn: base-files maintainer] Changing /etc/profile to add more shell-dependent settings Message-ID: <20151014155256.GN14466@dinwoodie.org> Reply-To: cygwin AT cygwin DOT 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 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