Home | History | Annotate | Line # | Download | only in skel
dot.profile revision 1.10
      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 
     12 # Set your editor. Default to explicitly setting vi, as otherwise some
     13 # software will run ed and other software will fail. Can be set to
     14 # emacs or nano or whatever other editor you may prefer, but of course
     15 # those editors must be installed before you can use them.
     16 export EDITOR=vi
     17 
     18 # vi settings: set show-match auto-indent always-redraw shift-width=4
     19 #export EXINIT="se sm ai redraw sw=4"
     20 
     21 # VISUAL sets the "visual" editor, i.e., vi rather than ed, which if
     22 # set will be run by preference to $EDITOR by some software. It is
     23 # mostly historical and usually does not need to be set.
     24 #export VISUAL=${EDITOR}
     25 
     26 # Set the pager. This is used by, among other things, man(1) for
     27 # showing man pages. The default is "more". Another reasonable choice
     28 # (included with the system by default) is "less".
     29 #export PAGER=more
     30 
     31 # Set your default printer, if desired.
     32 #export PRINTER=change-this-to-a-printer
     33 
     34 # Set the search path for programs.
     35 PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/pkg/bin
     36 PATH=${PATH}:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin
     37 export PATH
     38 
     39 # Configure the shell to load .shrc at startup time.
     40 # This will happen for every shell started, not just login shells.
     41 export ENV=$HOME/.shrc
     42