X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-5.6 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <BLU0-SMTP361C219C76F9B12A644D34CE220@phx.gbl>
References: <BLU0-SMTP361C219C76F9B12A644D34CE220@phx.gbl>
Date: Thu, 3 Jan 2013 21:20:12 -0800
Message-ID: <CAM-A7MDEUrz2t12q00aEBUM2nicjHC7QTMiKvS9M74p8ePy=Nw@mail.gmail.com>
Subject: Re: How to make persistent changes to PATH in cygwin?
From: Wynfield Henman <wynfield@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Why are invoking 'echo' and not just simply
PATH=$PATH:/newdir      ? Which is faster & take less resources..    I

On Wed, Jan 2, 2013 at 10:32 AM, Aaron Schneider
<notstop2@users.sourceforge.net> wrote:
> I've tried this:
>
> export PATH=`echo $PATH`:/newdir/
>
> And PATH contains the new dir, but after closing and reopening mintty (with
> cygserver stopped) changes are lost.
>
> How to solve that?
>
> --
> 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
>

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

