delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/03/22:35:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.6 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Fri, 4 Jan 2013 07:20:22 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <502426840.20130104072022@mtu-net.ru>
To: Aaron Schneider <notstop2 AT users DOT sourceforge DOT net>, cygwin AT cygwin DOT com
Subject: Re: How to make persistent changes to PATH in cygwin?
In-Reply-To: <BLU0-SMTP361C219C76F9B12A644D34CE220@phx.gbl>
References: <BLU0-SMTP361C219C76F9B12A644D34CE220 AT phx DOT gbl>
MIME-Version: 1.0
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

Greetings, Aaron Schneider!

> I've tried this:

> export PATH=`echo $PATH`:/newdir/

PATH=$PATH:/newdir
export PATH

> And PATH contains the new dir, but after closing and reopening mintty 
> (with cygserver stopped) changes are lost.

> How to solve that?

Either, change windows environment, from which Cygwin $PATH inherited, or make
adjustments to Cygwin startup scripts.


--
WBR,
Andrey Repin (anrdaemon AT freemail DOT ru) 04.01.2013, <07:18>

Sorry for my terrible english...


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