How do I setup my personal tcsh settings in Mac OS X?


The /usr/share/tcsh/examples/ directory contains some useful tcsh files.

In order to use this configuration do the following:

echo "source /usr/share/tcsh/examples/rc" > ~/.tcshrc
echo "source /usr/share/tcsh/examples/login" > ~/.login
echo "source /usr/share/tcsh/examples/logout" > ~/.logout

In order to customize tcsh:

mkdir ~/Library/init/tcsh

and create the following files there as necessary:

aliases.mine
- shell aliases
completions.mine
- completions
environment.mine
- environment
rc.mine
- run commands
path
- command search path

See the corresponding file in /usr/share/init/tcsh for more information about the role of each file. You can easily extend or override the configuration provided by the default file. For example, you can add more aliases by adding the appropriate commands in aliases.mine.

 


If you have any questions regarding this topic e-mail to support@stat.ucla.edu

Date Created: 2001-08-17 12:20:08 Date Last Modified: 2005-06-07 15:11:33


UCLA Department of Statistics
Last updated: 13-Jul-2009
Access count is: 42177, since 02-Oct-2003
Maintained by: Web Staff [webstaff@stat.ucla.edu]