|
|
Restore .cshrc globally
The init.tcsh files were removed from their' old location (presumably) to keep in sync with other BSD implementations; this is a good thing. The real problem however, is with the csh initialization files in /etc, it looks like someone at Apple accidentally included the wrong /etc/csh.* files from a very old version of Darwin--either that or a very rash decision was made which breaks everyone's default shell and counters the decision to move the shell init files in the first place! ;-P
If you did a clean install over top of an existing 10.1.5 installation, you can copy the three csh files from your "/Previous Systems/Previous System 1/private/etc" directory into /private/etc, replacing the ones which came with Jaguar.
Alternatively you can run these commands in the terminal:
(the first 2 lines just make a backup, if for some unique reason you want the Jaguar defaults back again)
sudo mkdir /etc/csh-jaguar-defaults/
sudo cp -i /etc/csh.* /etc/csh-jaguar-defaults/
sudo sh -c 'echo "source /usr/share/tcsh/examples/rc" > /etc/csh.cshrc'
sudo sh -c 'echo "source /usr/share/tcsh/examples/login" > /etc/csh.login'
sudo sh -c 'echo "source /usr/share/tcsh/examples/logout" > /etc/csh.logout'
If you use both a .cshrc and a .tcshrc, you might have to include an extra line in your .tcshrc to get both to work properly (I think tcsh is supposed to use both rc files since tcsh is considered a "c shell", but it doesn't use .cshrc anymore on my system since upgrading to Jaguar):
source ~/.cshrc
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|