dot.profile revision 1.8
11.8Schristos#	$NetBSD: dot.profile,v 1.8 2011/10/19 14:42:37 christos Exp $
21.3Sperry#
31.3Sperry# This is the default .profile file.
41.3Sperry# Users are expected to edit it to meet their own needs.
51.3Sperry#
61.3Sperry# The commands in this file are executed when an sh user first
71.3Sperry# logs in.
81.3Sperry#
91.3Sperry# See sh(1) for details.
101.3Sperry#
111.1Ssimonb
121.7Sdholland# Set your editor. Default to explicitly setting vi, as otherwise some
131.7Sdholland# software will run ed and other software will fail. Can be set to
141.7Sdholland# emacs or nano or whatever other editor you may prefer, but of course
151.7Sdholland# those editors must be installed before you can use them.
161.7Sdhollandexport EDITOR=vi
171.7Sdholland
181.8Schristos# vi settings: set show-match auto-indent always-redraw shift-width=4
191.8Schristos#export EXINIT="se sm ai redraw sw=4"
201.8Schristos
211.7Sdholland# VISUAL sets the "visual" editor, i.e., vi rather than ed, which if
221.7Sdholland# set will be run by preference to $EDITOR by some software. It is
231.7Sdholland# mostly historical and usually does not need to be set.
241.7Sdholland#export VISUAL=${EDITOR}
251.7Sdholland
261.7Sdholland# Set the pager. This is used by, among other things, man(1) for
271.7Sdholland# showing man pages. The default is "more". Another reasonable choice
281.7Sdholland# (included with the system by default) is "less".
291.7Sdholland#export PAGER=more
301.7Sdholland
311.7Sdholland# Set your default printer, if desired.
321.7Sdholland#setenv PRINTER change-this-to-a-printer
331.7Sdholland
341.7Sdholland# Set the search path for programs.
351.5ScubePATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin
361.1SsimonbPATH=${PATH}:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin
371.1Ssimonbexport PATH
381.1Ssimonb
391.7Sdholland# Configure the shell to load .shrc at startup time.
401.7Sdholland# This will happen for every shell started, not just login shells.
411.4Shubertfexport ENV=$HOME/.shrc
42