dot.profile revision 1.7
11.7Sdholland# $NetBSD: dot.profile,v 1.7 2011/10/19 11:27:26 dholland 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.7Sdholland# VISUAL sets the "visual" editor, i.e., vi rather than ed, which if 191.7Sdholland# set will be run by preference to $EDITOR by some software. It is 201.7Sdholland# mostly historical and usually does not need to be set. 211.7Sdholland#export VISUAL=${EDITOR} 221.7Sdholland 231.7Sdholland# Set the pager. This is used by, among other things, man(1) for 241.7Sdholland# showing man pages. The default is "more". Another reasonable choice 251.7Sdholland# (included with the system by default) is "less". 261.7Sdholland#export PAGER=more 271.7Sdholland 281.7Sdholland# Set your default printer, if desired. 291.7Sdholland#setenv PRINTER change-this-to-a-printer 301.7Sdholland 311.7Sdholland# Set the search path for programs. 321.5ScubePATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin 331.1SsimonbPATH=${PATH}:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin 341.1Ssimonbexport PATH 351.1Ssimonb 361.7Sdholland# Configure the shell to load .shrc at startup time. 371.7Sdholland# This will happen for every shell started, not just login shells. 381.4Shubertfexport ENV=$HOME/.shrc 39