# # Bourne Again SHell init file. # # Do global configuration. ARCH=`uname -s` CONFIGDIR='/usr/operations/lib/userconfig' if [ -f $CONFIGDIR/bash_profile-$ARCH ]; then . $CONFIGDIR/bash_profile-$ARCH fi # Set the PATH environment variable. export PATH=/u/cos217/bin/i686/meminfo:$PATH export PATH=/u/cos217/bin/i686/memstat:$PATH export PATH=/u/cos217/bin/i686:$PATH export PATH=/u/cos217/bin:$PATH export PATH=$PATH:. # Set the default permission for new files to rwx------. umask 077 # Set the printer. export PRINTER=xefriend017d # export PRINTER=xefriend016s # Make the command line history ignore duplicate command lines. history_control=ignoredups # Set the shell prompt. See the bash man page for a description # of special characters. if [ ! "$LOGIN_SHELL" ]; then PS1="\h:\w\$ " fi # Establish a safe environment. set -o ignoreeof # Do not log out with set -o noclobber # Do not overwrite files via '>' alias rm="rm -i" # Prompt before removing files via rm alias cp="cp -i" # Prompt before overwriting files via cp alias mv="mv -i" # Prompt before overwriting files via mv # Create aliases for commonly used commands. alias ls="ls -a --color=tty" alias ll="ls -al --color=tty" alias xemacs="xemacs -nw" alias odx="od -t x1" # Make the sort program behave in the traditional way. export LC_ALL=C