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

Revision 13167, 1.8 KB checked in by danw, 25 years ago (diff)
grammar, sanity, and other fixes
RevLine 
[2026]1# Prototype user .cshrc file
[5063]2#
[13167]3# $Id: dot.cshrc,v 1.15 1999-06-03 14:52:55 danw Exp $
[673]4
[2026]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
[13167]9#      - sets up standard C shell variables, aliases, etc.
[2026]10#      - source user file ~/.cshrc.mine, if it exists
[611]11
[2026]12set initdir=/usr/athena/lib/init
[673]13
[2026]14if (-r $initdir/cshrc) then
15        source $initdir/cshrc
16else
[5063]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."
[13167]20          stty sane
[2031]21        endif
[5063]22        # set some basic defaults if failed initialization
23        umask 077
[2026]24endif
[673]25
26
[13167]27# If you want to ADJUST the C shell initialization sequence, create any of
[2026]28# the following files (as appropriate) in your home directory, with commands
29# to achieve the effect listed:
[926]30#
[13167]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
[2026]34#                     variable $athena_path, which lists athena default path,
35#                     when you set path, e.g., "set path=(. $athena_path)")
[13167]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.
[926]42#
[2026]43# WARNING: If you revise this .cshrc file, you will not automatically
[13167]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.