This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tcsh inheriting path from windows


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]