delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/22/18:52:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: /etc/profile
Date: Wed, 22 Aug 2012 15:51:31 -0700
Lines: 15
Message-ID: <k13npl$283$1@ger.gmane.org>
References: <loom DOT 20120821T114938-389 AT post DOT gmane DOT org> <20120822191002 DOT GA5467 AT pris DOT crapsteak DOT org> <50353D71 DOT 9000306 AT dancol DOT org> <87ehmyllon DOT fsf AT Rainer DOT invalid> <20120822203605 DOT GA13385 AT ednor DOT casa DOT cgf DOT cx> <87628alkgk DOT fsf AT Rainer DOT invalid>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20120713 Thunderbird/14.0
In-Reply-To: <87628alkgk.fsf@Rainer.invalid>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On 8/22/2012 1:50 PM, Achim Gratz wrote:
> The issue is that to effect that customization I have to change a file that is not supposed to be changed (since that prevents any updates from getting to it automatically).
I've long since (circa 1994 or so) had a script called set_path that I 
can source to set my path from scratch. My ~/.bashrc calls it. I can add 
on different directories as required from my various clients. 
Directories only get added to the path if they exist.

Now why can't you do similar? It would not be "changing a file that is 
not supposed to be changes" rather it would be changing files that you 
own and that should be changed.

It's your environment - take control of it!
-- 
Andrew DeFaria <http://defaria.com>
Artificial Intelligence usually beats real stupidity.


--
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