source: trunk/debathena/debathena/dotfiles/dot.cshrc @ 13167

Revision 13167, 1.8 KB checked in by danw, 26 years ago (diff)
grammar, sanity, and other fixes
Line 
1# Prototype user .cshrc file
2#
3# $Id: dot.cshrc,v 1.15 1999-06-03 14:52:55 danw Exp $
4
5# This file sources a system-wide cshrc file, which:
6#      - sets up standard environment variables
7#      - sources user file ~/.environment, if it exists
8#      - sets standard path, OR sources user file ~/.path, if it exists
9#      - sets up standard C shell variables, aliases, etc.
10#      - source user file ~/.cshrc.mine, if it exists
11
12set initdir=/usr/athena/lib/init
13
14if (-r $initdir/cshrc) then
15        source $initdir/cshrc
16else
17        if ($?prompt) then              # Don't echo if noninteractive
18          echo "Warning: System-wide initialization files not found."
19          echo "C Shell initialization has not been performed."
20          stty sane
21        endif
22        # set some basic defaults if failed initialization
23        umask 077
24endif
25
26
27# If you want to ADJUST the C shell initialization sequence, create any of
28# the following files (as appropriate) in your home directory, with commands
29# to achieve the effect listed:
30#
31#      .environment - set up session environment (set environmental
32#                     variables, attach lockers, etc.)
33#      .path        - set default search path (you can refer to the shell
34#                     variable $athena_path, which lists athena default path,
35#                     when you set path, e.g., "set path=(. $athena_path)")
36#      .cshrc.mine  - set up C shell environment (set shell variables,
37#                     aliases, unset system defaults, etc.)
38
39# If you want to CHANGE the C shell initialization sequence, revise
40# this .cshrc file (the one you're reading now). You may want to copy
41# the contents of the system-wide cshrc file as a starting point.
42#
43# WARNING: If you revise this .cshrc file, you will not automatically
44# get any changes that Athena may make to the system-wide file at a
45# later date. Be sure you know what you are doing.
Note: See TracBrowser for help on using the repository browser.