delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/20/12:07:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Mon, 20 Dec 2004 18:07:14 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: tcsh inheriting path from windows
Message-ID: <20041220170714.GS9277@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <41C702B9 DOT 2020607 AT avidyne DOT com>
Mime-Version: 1.0
In-Reply-To: <41C702B9.2020607@avidyne.com>
User-Agent: Mutt/1.4.2i

On Dec 20 08:50, Marc Schafer wrote:
> I can't get tcsh to correctly inherit my path from windows.  The spaces 
> in things like "Program Files" get turned in :'s  If I use bash instead, 
> then everything works fine.
> 
> I read many of the threads on the mailing list and people seem to 
> suggest that you have to remove these from your path or set them 
> manually in your .tcsh.
> 
> Is there any way to make this work correctly?  Why does it work under 
> bash and not tcsh?

tcsh is not bash.  Try

  set path = ( $NEW_PATH:q $path:q )

The ":q" is the secret.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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