public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: David Sastre Medina <d.sastre.medina@gmail.com>
To: cygwin@cygwin.com
Subject: Re: /etc/profile
Date: Wed, 22 Aug 2012 19:42:00 -0000	[thread overview]
Message-ID: <20120822191002.GA5467@pris.crapsteak.org> (raw)
In-Reply-To: <loom.20120821T114938-389@post.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]

On Tue, Aug 21, 2012 at 10:16:28AM +0000, Achim Gratz wrote:
> I'm removing the Windows PATH in my startup scripts since there's nothing in
> there that I think should be accessible from Cygwin.
> For (t)csh this is easy enough to do with dropping a script into /etc/profile.d
> that gets executed first, but there's no such provision for sh and the ilk since
> PATH is set up already before it get there.  Now, unless profile gets changed I
> can still cut off "/usr/local/bin:/usr/bin:" with a profile.d script, but I
> think it might be preferrable that the Windows path gets recorded into
> ORIGINAL_PATH or some similar name at the beginning of profile.  It would then
> be a simple matter to later add the Windows path where appropriate, but I don't
> think the default path should have it at all.
> Also, there are two things in profile that may admit slight improvement (a place
> where LC_COLLATE is specified just for one command and better guarding against a
> missing or non-cdable /etc/skel).

All three changes will be available in the next release (profile_d
modification taken from your last version in this thread).

Thanks.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 230 bytes --]

  parent reply	other threads:[~2012-08-22 19:10 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-21 15:03 /etc/profile Achim Gratz
2012-08-21 15:35 ` /etc/profile Eric Blake
2012-08-21 15:57   ` /etc/profile Achim Gratz
2012-08-21 16:11     ` /etc/profile James Johnston
2012-08-21 16:50     ` /etc/profile Eric Blake
2012-08-21 17:21       ` /etc/profile Achim Gratz
2012-08-21 19:27         ` /etc/profile Eric Blake
2012-08-21 20:48           ` /etc/profile Achim Gratz
2012-08-21 17:24     ` /etc/profile Earnie Boyd
2012-08-22 19:42 ` David Sastre Medina [this message]
2012-08-22 20:10   ` /etc/profile Achim Gratz
2012-08-22 20:15     ` /etc/profile David Sastre Medina
2012-08-22 20:50       ` /etc/profile Achim Gratz
2012-08-25 15:45       ` /etc/profile Achim Gratz
2012-08-25 21:26         ` /etc/profile Achim Gratz
2012-08-22 20:36   ` /etc/profile Daniel Colascione
2012-08-22 20:51     ` /etc/profile Achim Gratz
2012-08-22 20:55       ` /etc/profile Andrey Repin
2012-08-22 22:52         ` /etc/profile Achim Gratz
2012-08-22 20:55       ` /etc/profile Christopher Faylor
2012-08-22 21:18         ` /etc/profile Achim Gratz
2012-08-23  6:35           ` /etc/profile Andrew DeFaria
2012-08-22 22:08     ` /etc/profile David Sastre Medina
2012-08-23  5:54       ` /etc/profile Christopher Faylor
2012-08-23  6:19         ` /etc/profile David Sastre Medina
2012-08-23 10:03         ` /etc/profile Achim Gratz
2012-08-23 10:29           ` /etc/profile L Anderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120822191002.GA5467@pris.crapsteak.org \
    --to=d.sastre.medina@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).