On Thursday, February 21, 2002, at 11:12 PM, Manuel Portilheiro wrote:

> Here's the deal: The instructions for installing fink say that the line
> "source /sw/bin/init.csh"
> should be added to the beginning of the .cshrc file. It happens that I 
> am using the tcsh shell and when I add that line to the beginning of my 
> .tcshrc I don't get the fink utilities to work. Now, I noticed that the 
> directories that /sw/bin/init.csh adds to $path were not there after 
> logging in. So I decided to add the above line to 
> /Library/init/tcsh/login.mine and now it works fine! So I'm thinking 
> that the $path variable get's defined after the .tcshrc has been read. 
> Is this usual? I guess my question is whether what I did is fine or I 
> should do something else.

It appears that .cshrc gets executed before all other shells. I happen 
to use the Bash shell and
after I added this line to ~/.cshrc (which didn't even exist when I 
added it) actually added the
needed setup (paths, environment variables) into my bash shell.

So, DON'T add anything to your .tcshrc or, in the case of using bash, 
.bashrc files.

> -Manuel Portilheiro

--
Alfredo Jahn
[EMAIL PROTECTED]


_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to