kshrc 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # $NetBSD: dot.profile,v 1.10 2018/03/01 06:12:09 snj Exp $
  2. #
  3. # This is the default .profile file.
  4. # Users are expected to edit it to meet their own needs.
  5. #
  6. # The commands in this file are executed when an sh user first
  7. # logs in.
  8. #
  9. # See sh(1) for details.
  10. #
  11. # Set your editor. Default to explicitly setting vi, as otherwise some
  12. # software will run ed and other software will fail. Can be set to
  13. # emacs or nano or whatever other editor you may prefer, but of course
  14. # those editors must be installed before you can use them.
  15. export EDITOR=emacsclient
  16. # vi settings: set show-match auto-indent always-redraw shift-width=4
  17. #export EXINIT="se sm ai redraw sw=4"
  18. # VISUAL sets the "visual" editor, i.e., vi rather than ed, which if
  19. # set will be run by preference to $EDITOR by some software. It is
  20. # mostly historical and usually does not need to be set.
  21. export VISUAL=${EDITOR}
  22. # Set the pager. This is used by, among other things, man(1) for
  23. # showing man pages. The default is "more". Another reasonable choice
  24. # (included with the system by default) is "less".
  25. #export PAGER=more
  26. # Set your default printer, if desired.
  27. #export PRINTER=change-this-to-a-printer
  28. # Set the search path for programs.
  29. PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/pkg/bin
  30. PATH=${PATH}:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin
  31. export PATH
  32. export ENV=$HOME/.shrc
  33. export HISTFILE=$HOME/.ksh_history
  34. export TERM=xterm-256color
  35. export PS1="[\${PWD}]\$ "
  36. LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/X11R7/lib:/usr/pkg/lib
  37. export LD_LIBRARY_PATH