[OS X TeX] can't find files in /usr/local/tetex/bin/

Justin Walker justin at mac.com
Thu Apr 8 16:07:00 EDT 2004


On Apr 8, 2004, at 12:56, Jan Anderssen wrote:

>
>> This was the reply I was hoping for. This will fix your setup so that 
>> the correct directories are always in your path. The setenv command 
>> will only last as long as your terminal session.
>
> just two quick notes, in case somebody needs to change things manually:
>
> - another way to tell which shell you're in: 'echo $SHELL'

This isn't really reliable; for example, if you log in to tcsh, and run 
bash, $SHELL will be /bin/tcsh.  I don't know what the effect of 
running a 'bash' shell script from tcsh would be, for example.

> - to add configuration stuff permanently, you can add things to your 
> ~/.tcshrc or ~/.bashrc file (respectively of the shell you're using). 
> these could be setenv commands, or other things, f.i. aliases etc.

To get this right takes a bit of study.  The various 'profile' and 'rc' 
files are read by different shells under different circumstances 
("login", "interactive", ...).  The man pages tell the story.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large  *
Institute for General Semantics        | Some people have a mental
                                        |  horizon of radius zero, and
                                        |  call it their point of view.
                                        |     -- David Hilbert
*--------------------------------------*-------------------------------*

-----------------------------------------------------
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the MacOSX-TeX mailing list