/share/skel/dot.shrc

https://bitbucket.org/freebsd/freebsd-head/ · Unknown · 47 lines · 37 code · 10 blank · 0 comment · 0 complexity · ac78b7abcdfbfdceb29d232cdc091559 MD5 · raw file

  1. # $FreeBSD$
  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. # file permissions: rwxr-xr-x
  11. #
  12. # umask 022
  13. # Enable the builtin emacs(1) command line editor in sh(1),
  14. # e.g. C-a -> beginning-of-line.
  15. set -o emacs
  16. # Uncomment this and comment the above to enable the builtin vi(1) command
  17. # line editor in sh(1), e.g. ESC to go into visual mode.
  18. # set -o vi
  19. # some useful aliases
  20. alias h='fc -l'
  21. alias j=jobs
  22. alias m=$PAGER
  23. alias ll='ls -laFo'
  24. alias l='ls -l'
  25. alias g='egrep -i'
  26. # # be paranoid
  27. # alias cp='cp -ip'
  28. # alias mv='mv -i'
  29. # alias rm='rm -i'
  30. # # set prompt: ``username@hostname$ ''
  31. # PS1="`whoami`@`hostname | sed 's/\..*//'`"
  32. # case `id -u` in
  33. # 0) PS1="${PS1}# ";;
  34. # *) PS1="${PS1}$ ";;
  35. # esac
  36. # search path for cd(1)
  37. # CDPATH=:$HOME