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

Revision 24011, 1.8 KB checked in by broder, 15 years ago (diff)
In dotfiles: * Stop setting umask in dotfiles. (Trac: #368) Patch by Nancy Ouyang
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
[2026]22endif
[673]23
24
[13167]25# If you want to ADJUST the C shell initialization sequence, create any of
[2026]26# the following files (as appropriate) in your home directory, with commands
27# to achieve the effect listed:
[926]28#
[13167]29#      .environment - set up session environment (set environmental
30#                     variables, attach lockers, etc.)
31#      .path        - set default search path (you can refer to the shell
[2026]32#                     variable $athena_path, which lists athena default path,
33#                     when you set path, e.g., "set path=(. $athena_path)")
[13167]34#      .cshrc.mine  - set up C shell environment (set shell variables,
35#                     aliases, unset system defaults, etc.)
36
37# If you want to CHANGE the C shell initialization sequence, revise
38# this .cshrc file (the one you're reading now). You may want to copy
39# the contents of the system-wide cshrc file as a starting point.
[926]40#
[2026]41# WARNING: If you revise this .cshrc file, you will not automatically
[13167]42# get any changes that Athena may make to the system-wide file at a
43# later date. Be sure you know what you are doing.
Note: See TracBrowser for help on using the repository browser.