On Wednesday, March 26, 2003, at 02:30 PM, Charlie Byers wrote:

The .chsrc file can also contain modifications to the PATH variable, which tells the shell where to look for executables.
Add the line: setenv PATH /sw/bin:$PATH
Anywhere in the file. In this line, the $PATH thing is expanded to what the variable already contains, so you're effectively pre-pending the text '/sw/bin:' to your PATH variable. (Also demonstrates the order of operations for this kind of csh command.)
Hope this helps,
Charlie
if you have a .tcshrc file in your home dir, it will override the override .cshrc. Do *not* just add /sw/bin to the path, use the source comand. there are many other things than just adding /sw/bin to the PATH that needs to be done, thats why we have an init script

-chris zubrzycki
- --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3  1688 FBF9 8232 A2AB C070
========================================================
Security Is A Series Of Well-Defined Steps...

chmod -R 0 / ; and smile :)




------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to