home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume1 / bourne / part1 / sample.shrc < prev    next >
Encoding:
Text File  |  1986-11-30  |  443 b   |  17 lines

  1. # .shrc file --- this file will be read every time the shell cranks up
  2. # if it is in the $HOME directory
  3.  
  4. # this is a sample, currently set up to do some Korn shell emulation
  5.  
  6. PPID=$+            # set the Parent Process Id
  7.  
  8. # source file name given by ENV environment variable
  9. # and only if $ENV is not this file.
  10.  
  11. if [ "$ENV" != "" -a "$ENV" != "$HOME/.shrc" ]
  12. then
  13.     . $ENV
  14. fi
  15.  
  16. # put any useful shell functions here, or source a file with them in it.
  17.