source: trunk/packs/dotfiles/dot.bashrc @ 13196

Revision 13196, 1.5 KB checked in by tb, 25 years ago (diff)
New dotfiles for bash support.
Line 
1# Prototype user .bashrc file
2#
3# $Id: dot.bashrc,v 1.1 1999-06-11 15:28:10 tb Exp $
4
5# This file sources a system-wide bashrc file, which:
6#      - sets up standard environment variables
7#      - sources user file ~/.bash_environment, if it exists
8#      - sets standard path
9#      - sets up standard shell variables, aliases, etc.
10#      - source user file ~/.bashrc.mine, if it exists
11
12initdir=/usr/athena/lib/init
13
14if [ -r $initdir/bashrc ]; then
15        . $initdir/bashrc
16else
17        if [ -n "$PS1" ]; then
18          echo "Warning: System-wide initialization files not found."
19          echo "Shell initialization has not been performed."
20          stty sane
21        fi
22        # set some basic defaults if failed initialization
23        umask 077
24fi
25
26
27# If you want to ADJUST the bash 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#      .bash_environment - setup session environment (set environmental
32#                          variables, attach lockers, etc.)
33#      .bashrc.mine  - setup bash environment (set shell variables, aliases,
34#                     unset system defaults, etc.)
35                     
36# If you want to CHANGE the bash initialization sequence, revise this .bashrc
37# file (the one you're reading now).  You may want to copy the contents of
38# the system-wide bashrc file as a starting point.
39#
40# WARNING: If you revise this .bashrc file, you will not automatically
41# get any changes that Athena may make to the system-wide file at a
42# later date.  Be sure you know what you are doing.
Note: See TracBrowser for help on using the repository browser.