hi,
i'm having a bit of trouble getting Terminal to take my environment settings when i launch a new login shell.
i've read some of the posts on this board having to do with setting up your terminal environment, and i've generally come to the conclusion that as with most things unix, there are a number of ways to get the job done.
anyway, for the moment i'd like to try to set up Terminal to take the environment settings as recommended in /usr/share/tcsh/examples (even tho i'm kind of partial to bash & zsh). i followed the instructions in the README, and when i start a new shell, it shows up for a second and then disappears. guess there's someting in one of those files that the system doesn't like!
after i undid those changes, next i tried following some advice in one of the threads i just read here. basically, setting up a user-specific environment (supposedly sourced by the system when a new login shell is spawned) inside ~/Library/init/tcsh, in the *.mine files. Terminal, however, didn't seem to take these settings. nothing bad happened per se, except for the fact that, well, nothing happened!
finally, i said to hell with tcsh altogether and went for my old standby, bash. i basically i just created a .bashrc in ~ with the classpath settings and such that i want. this does the trick, but only if i manually source it after firing up the login shell.
given that everything else i do with my mac is so easy and so elegant, there's got to be a simple way for Terminal to take my environment settings when i fire up a new login shell. anybody out there care to lend their expertise toward my rather n00bie query?
cheers.
ps - within the scope of these environment settings files, is there a meaningful difference between using 'export' and 'set'/'setenv'? how about $HOME vs ${HOME}? i've seen both but i'm not sure exactly what the distinction is. thanks!