home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / bash / bash_108 / bash-108.zoo / bash-1.08 / examples / bash-profile < prev    next >
Encoding:
Text File  |  1991-02-26  |  1.1 KB  |  55 lines

  1. HOME=/usr/homes/chet
  2. MAIL=/usr/homes/chet/mbox
  3. MAILCHECK=30
  4. HISTFILE=/usr/homes/chet/.history
  5.  
  6. MACHINE=$(/usr/local/bin/machine)
  7. HOST=$(hostname)
  8.  
  9. PATH1=/usr/homes/chet/bin.$MACHINE:/usr/local/bin/gnu:
  10. PATH2=/usr/local/bin:/usr/ucb:/bin:/usr/bin/X11:.
  11. PATH3=/usr/andrew/bin:/usr/bin:/usr/ibm:/usr/local/bin/mh:/usr/new/bin:
  12. PATH=$PATH1:$PATH2:$PATH3
  13.  
  14. EDITOR=/usr/homes/chet/bin.$MACHINE/ce
  15. VISUAL=/usr/homes/chet/bin.$MACHINE/ce
  16. FCEDIT=/usr/homes/chet/bin.$MACHINE/ce
  17.  
  18. if [ "$BASH" ] ; then
  19.     SHELL=$BASH
  20. else
  21.     SHELL=/bin/bash
  22. fi
  23.  
  24. if [ "$MACHINE" = "ibm032" ] ; then
  25.     stty erase ^H
  26. fi
  27.  
  28. PAGER=/usr/ucb/more
  29. NNTPSERVER=kiwi
  30. NS=/nfs/cwjcc/fs1/ns-engr/proj/netsrv/cwpub/proto/src
  31.  
  32. #
  33. # Bogus 1003.2 variables.  This should really be in /etc/profile
  34. #
  35. LOGNAME=${USER-$(whoami)}
  36. TZ=EST5EDT
  37.  
  38. export HOME ENV VISUAL EDITOR MAIL SHELL PATH TERM 
  39. export PAGER LESS TERMCAP HISTSZIE HISTFILE
  40. export MAIL MAILCHECK HOST HOSTNAME NNTPSERVER NS LOGNAME TZ
  41.  
  42. PS1="${HOST}$ "
  43. PS2='> '
  44. export PS1 PS2
  45.  
  46. umask 022
  47.  
  48. if [ -f /unix ] ; then
  49.     stty intr ^c
  50. fi
  51.  
  52. if [ -f ~/.bashrc ] ; then
  53.     . ~/.bashrc
  54. fi
  55.