OSX Terminal Fun VIII: 10.2 tcsh configuration
Ah, and an update- I forgot that Apple changed some of the functionality from 10.1 to 10.2... everything that used to be stored in /usr/share/tcsh/ is now stored in /usr/share/tcsh/examples/ which can throw a few people if they haven't done the below commands. This can be a problem if you're trying to follow some of the things I've written...
Copying and pasting the below commands into a new terminal window will allow OSX to recognize the ~/Library/init/tcsh/ folder as well as some other basic aliases and auto-completion functionality.
If you're really curious about what you'll be getting by doing this, you'll want to read the files under "/usr/share/tcsh/examples".
There are two ways to get back that functionality, so I'll list them both here.
To just set it up for one user (ie, you) use the three commands below.
% echo "source /usr/share/tcsh/examples/rc" > ~/.tcshrc
% echo "source /usr/share/tcsh/examples/login" > ~/.login
% echo "source /usr/share/tcsh/examples/logout" > ~/.logout
If you wanted the new functionality to be system-wide (ie, every user gets it), you would use the below three commands:
% sudo echo "source /usr/share/tcsh/examples/rc" >> /etc/csh.cshrc
% sudo echo "source /usr/share/tcsh/examples/login" >> /etc/csh.login
% sudo echo "source /usr/share/tcsh/examples/logout" >> /etc/csh.logout
You'll want to make sure you don't have any .tcshrc, .login or .logout under your home folder (~) if you've implimented the second one.

Posted by drunkenbatman





