delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/30/13:30:43

X-Spam-Check-By: sourceware.org
Message-ID: <1200.192.168.0.12.1177954215.squirrel@mail.morrison.mine.nu>
In-Reply-To: <567357.80340.qm@web52005.mail.re2.yahoo.com>
References: <567357 DOT 80340 DOT qm AT web52005 DOT mail DOT re2 DOT yahoo DOT com>
Date: Mon, 30 Apr 2007 18:30:15 +0100 (BST)
Subject: Re: setting cygwin PATH
From: "John Morrison" <john AT morrison DOT mine DOT nu>
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.4.9a
MIME-Version: 1.0
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 Mon, April 30, 2007 6:24 pm, Fungazid wrote:
> Hello to you the cygwin people,
>
> I'm working with cygwin.
> I added a directory "/home/T-COFFEE/bin/" to PATH by:
>
> export PATH=/home/T-COFFEE/bin:`printenv PATH`

$PATH is easier than the `printenv PATH` bit :)

> I typed it in the cygwin command line. after that
> 'printenv PATH' showed the new directory. But the new
> directory remained only temporarily (it disappeared
> after closing cygwin).
>
> How do I change it permanently ? (I tried to copy the
> .bashrc to my HOME directory, and messed up with it)

echo 'export PATH=/home/T-COFFEE/bin:$PATH' >> .bashrc

J.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019