1#	$NetBSD: dot.profile,v 1.12 2024/09/23 12:12:36 uwe 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.  Can be set to emacs or nano or whatever other
13# editor you may prefer, but of course those editors must be installed
14# before you can use them.  Default to explicitly setting vi, as
15# otherwise some software (including sh's own fc) will run ed and
16# other software will fail.
17export EDITOR=vi
18
19# vi settings: set show-match auto-indent always-redraw shift-width=4
20#export EXINIT="se sm ai redraw sw=4"
21
22# VISUAL sets the "visual" editor, i.e., vi rather than ed, which if
23# set will be run by preference to $EDITOR by some software. It is
24# mostly historical and usually does not need to be set.
25#export VISUAL=${EDITOR}
26
27# Set the pager. This is used by, among other things, man(1) for
28# showing man pages. The default is "more". Another reasonable choice
29# (included with the system by default) is "less".
30#export PAGER=less
31
32# Many modern terminal emulators don't provide a way to disable
33# alternate screen switching (like xterm's titeInhibit).  less(1) has
34# its own option (-X) for that that you can use to alleviate the pain,
35# as PAGER is the most common scenario for hitting this.  Add other
36# flags according to taste.
37#export LESS='-i -M -X'
38
39# Set your default printer, if desired.
40#export PRINTER=change-this-to-a-printer
41
42# Set the search path for programs.
43PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/pkg/bin
44PATH=${PATH}:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin
45export PATH
46
47# Configure the shell to load .shrc at startup time.
48# This will happen for every shell started, not just login shells.
49export ENV=$HOME/.shrc
50