John Hummel wrote:

> My .tcshrc looks like this:
> 
> [localhost:~] jhummel% cat .tcshrc
> source /usr/share/init/tcsh/rc

This line is not necessary and might have strange effects, because it is
already contained in /etc/csh.cshrc which is also executed at the
startup of tcsh. So several of the startup scripts in
/usr/share/init/tcsh and also, if they exist, in ~/Library/init/tcsh
will be executed twice.
 
> source /sw/bin/init.csh
> set complete = enhance
> setenv Display :0.0
 
> Now, when I check my path statement, it looks like this:

> path    (/Users/jhummel/bin/powerpc-apple-darwin /Users/jhummel/bin
> /usr/local/bin /usr/bin /bin /usr/local/sbin /usr/sbin /sbin /usr/X11R6/bin)
> 
> Now, when type manually type "source ~/.tcshrc" my path becomes this:
> 
> path    (/sw/bin /sw/sbin /Users/jhummel/bin/powerpc-apple-darwin
> /Users/jhummel/bin /usr/local/bin /usr/bin /bin /usr/local/sbin
> /usr/sbin /sbin /usr/X11R6/bin /usr/X11R6/bin)
> 
> So, obviously the command "source /sw/bin/init.csh" is working - but I
> need to know how to make it work without me having to touch it all day.

Unless you did something weird to your other startup scripts in
/etc/csh.*, /usr/share/init/tcsh and ~/Library/init/tcsh, your ~/.tcshrc
*will* be executed at the startup of tcsh. What might happen is that the
line I wondered about above makes your .tcshrc fail, so that the next
line is never executed. Since the environments are not exactly the same,
it is possible that it fails at startup and not when you execute it
manually afterwards, although it is hard to imagine how this can happen.

-- 
Martin

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

Reply via email to