Saturday, April 19, 2003


Yeah, yeah, the real unix admins make backups of any file they're going to delete. And if they're just testing, they don't actually delete the file, they just move it or rename it. I, on the other hand, am still waking up and got a tad enthusiastic.

Anyone have a spare default .tcshrc file? [redmonk 2.0 : monkinetic weblog]

Sure!

When 10.2 shipped, I was dismayed to discover that the tcsh command line environment had been rendered quite totally useless. Tab completion stopped working. Paths were minimized. It was yucky.

Under OS X 10.1 and prior, the shell environment actually had a boatload of really useful features. Basically it appeared to be Wilfredo Sanchez's shell environment from his MIT days.

At some point, I took a moment and grabbed the environment from an OS X 10.1 box and made it work as a standalone drop-in into any user account. I have been meaning to tarball it and put it up somewhere such that I could easily grab it from whatever OS X box I happen to be on, but hadn't gotten around to it.

Monkinetic's post finally kicked me into gear.

To install:

Download the tarball containing the initialization files and untar into your home account.

% cd
% curl -O http://homepage.mac.com/bbum/tcshrc-osx.tgz
% gnutar xfvzp tcshrc-osx.tgz

Backup .login, .logout, .tcshrc and .tcsh -- the above will blow 'em away!!!

A README can be found in the .tcsh directory.

The list of files "installed" is as follows:

% gnutar tfvz tcshrc-osx.tgz
.login
.logout
.tcshrc
.tcsh/
.tcsh/aliases
.tcsh/completions
.tcsh/environment
.tcsh/login
.tcsh/logout
.tcsh/rc
.tcsh/README
.tcsh/tcsh.defaults

11:12:13 AM  pontificate