August 26, 2002

Jaguar SHELL-initialisation: getting back the bells and whistles


For whatever reason, Apple decided to ship Jaguar with a tcsh shell without preconfigured aliases and such as it used to be with pre-jagwire versions. The engineers figured that the average user would be clever enought to do this by himself - which i doubt.
If you want to get back the pre 10.2 behaviour so all users automatically get a shell enviroment preconfigured with aliases and so on, there's a simple fix:

First let's back up:
mv /etc/csh.cshrc /etc/csh.cshrc.apple
mv /etc/csh.login /etc/csh.login.apple
mv /etc/csh.logout /etc/csh.logout.apple

Then just type these three commands in Terminal.app and you're all set:
echo "source /usr/share/tcsh/examples/rc" > /etc/csh.cshrc
echo "source /usr/share/tcsh/examples/login" > /etc/csh.login
echo "source /usr/share/tcsh/examples/logout" > /etc/csh.logout

As soon as you open a new Terminal Window, you have all your old settings back - as for instance the 'll' alias...

Posted in: by seiz | Comments (1)

Comments

1

Thanks for the great tips


d


Post a comment