This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: tcsh inheriting path from windows
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 20 Dec 2004 18:07:14 +0100
- Subject: Re: tcsh inheriting path from windows
- References: <41C702B9.2020607@avidyne.com>
- Reply-to: cygwin at cygwin dot com
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@cygwin.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/