tcsh inheriting path from windows

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Dec 20 17:07:00 GMT 2004


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/



More information about the Cygwin mailing list