[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 |
---|
[25372] | 8 | # - sets standard path |
---|
[13167] | 9 | # - sets up standard C shell variables, aliases, etc. |
---|
[2026] | 10 | # - source user file ~/.cshrc.mine, if it exists |
---|
[611] | 11 | |
---|
[2026] | 12 | set initdir=/usr/athena/lib/init |
---|
[673] | 13 | |
---|
[2026] | 14 | if (-r $initdir/cshrc) then |
---|
| 15 | source $initdir/cshrc |
---|
| 16 | else |
---|
[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] | 22 | endif |
---|
[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 | # .cshrc.mine - set up C shell environment (set shell variables, |
---|
| 32 | # aliases, unset system defaults, etc.) |
---|
| 33 | |
---|
[25372] | 34 | # In most cases, you will never need to edit this file. All the |
---|
| 35 | # customizations you could want to make can be made by editing one |
---|
| 36 | # of the user dotfiles, such as ~/.cshrc.mine, ~/.environment, |
---|
| 37 | # ~/.startup.tty or ~/.startup.X |
---|
[926] | 38 | # |
---|
[2026] | 39 | # WARNING: If you revise this .cshrc file, you will not automatically |
---|
[13167] | 40 | # get any changes that Athena may make to the system-wide file at a |
---|
| 41 | # later date. Be sure you know what you are doing. |
---|