home *** CD-ROM | disk | FTP | other *** search
/ BUG 1 / BUGCD1996_0708.ISO / pc / util / minilin / minilin.exe / ETC / PROFILE < prev    next >
Text File  |  1995-01-12  |  1KB  |  41 lines

  1. # commands common to all logins
  2. export OPENWINHOME=/usr/openwin
  3. export MINICOM="-c on"
  4. export MANPATH=/usr/local/man:/usr/man/preformat:/usr/man:/usr/X11/man:/usr/openwin/man
  5. export HOSTNAME="`cat /etc/HOSTNAME`"
  6. PATH="$PATH:/usr/X11/bin:/usr/TeX/bin:/usr/andrew/bin:$OPENWINHOME/bin:/usr/games:."
  7. LESS=-MM
  8. # I had problems using 'eval tset' instead of 'TERM=', but you might want to 
  9. # try it anyway. I think with the right /etc/termcap it would work great.
  10. # eval `tset -sQ "$TERM"`
  11. if [ "$TERM" = "" -o "$TERM" = "unknown" -o \
  12.  "`echo $TERM | cut -b1-3`" = "con" ]; then
  13.  TERM=console
  14. fi
  15. #PS1='`hostname`:`pwd`# '
  16. if [ "$SHELL" = "/bin/pdksh" ]; then
  17.  PS1="! $ "
  18. elif [ "$SHELL" = "/bin/zsh" ]; then
  19.  PS1="%m:%~%# "
  20. elif [ "$SHELL" = "/bin/ash" ]; then
  21.  PS1="$ "
  22. else
  23.  PS1='\h:\w\$ '
  24. fi
  25. PS2='> '
  26. if [ ! "$SHELL" = "/bin/ash" ]; then # ash doesn't have aliases
  27.  #
  28.  # Global aliases - change them to suit your needs.
  29.  #
  30.  alias ls='ls -F'
  31.  alias dir='ls -l'
  32.  alias net='term < /dev/modem > /dev/modem 2> /dev/null&'
  33. fi
  34. # alias startx='startx >& /dev/null'
  35. ignoreeof=10
  36. export PATH DISPLAY LESS TERM PS1 PS2 ignoreeof
  37. umask 022
  38. echo
  39. fortune
  40. echo
  41.