home *** CD-ROM | disk | FTP | other *** search
/ ns1.lip.tz.ru / ns1.lip.tz.ru.tar / ns1.lip.tz.ru / .shrc < prev    next >
Text File  |  2010-06-03  |  975b  |  48 lines

  1. # $FreeBSD: src/share/skel/dot.shrc,v 1.3 2002/07/23 12:28:16 jmallett Exp $
  2. #
  3. # .shrc - bourne shell startup file 
  4. #
  5. # This file will be used if the shell is invoked for interactive use and
  6. # the environment variable ENV is set to this file.
  7. #
  8. # see also sh(1), environ(7).
  9. #
  10.  
  11.  
  12. # file permissions: rwxr-xr-x
  13. #
  14. # umask    022
  15.  
  16. # Enable the builtin emacs(1) command line editor in sh(1),
  17. # e.g. C-a -> beginning-of-line.
  18. set -o emacs
  19.  
  20. # Uncomment this and comment the above to enable the builtin vi(1) command
  21. # line editor in sh(1), e.g. ESC to go into visual mode.
  22. # set -o vi
  23.  
  24.  
  25. # some useful aliases
  26. alias h='fc -l'
  27. alias j=jobs
  28. alias m=$PAGER
  29. alias ll='ls -laFo'
  30. alias l='ls -l'
  31. alias g='egrep -i'
  32.  
  33. # # be paranoid
  34. # alias cp='cp -ip'
  35. # alias mv='mv -i'
  36. # alias rm='rm -i'
  37.  
  38.  
  39. # # set prompt: ``username@hostname$ '' 
  40. # PS1="`whoami`@`hostname | sed 's/\..*//'`"
  41. # case `id -u` in
  42. #     0) PS1="${PS1}# ";;
  43. #     *) PS1="${PS1}$ ";;
  44. # esac
  45.  
  46. # search path for cd(1)
  47. # CDPATH=.:$HOME
  48.