dot.profile revision 1.11
11.11Suwe# $NetBSD: dot.profile,v 1.11 2024/09/23 11:38:50 uwe 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.11Suwe# Set your editor. Can be set to emacs or nano or whatever other 131.11Suwe# editor you may prefer, but of course those editors must be installed 141.11Suwe# before you can use them. Default to explicitly setting vi, as 151.11Suwe# otherwise some software (including sh's own fc) will run ed and 161.11Suwe# other software will fail. 171.7Sdhollandexport EDITOR=vi 181.7Sdholland 191.8Schristos# vi settings: set show-match auto-indent always-redraw shift-width=4 201.8Schristos#export EXINIT="se sm ai redraw sw=4" 211.8Schristos 221.7Sdholland# VISUAL sets the "visual" editor, i.e., vi rather than ed, which if 231.7Sdholland# set will be run by preference to $EDITOR by some software. It is 241.7Sdholland# mostly historical and usually does not need to be set. 251.7Sdholland#export VISUAL=${EDITOR} 261.7Sdholland 271.7Sdholland# Set the pager. This is used by, among other things, man(1) for 281.7Sdholland# showing man pages. The default is "more". Another reasonable choice 291.7Sdholland# (included with the system by default) is "less". 301.7Sdholland#export PAGER=more 311.7Sdholland 321.7Sdholland# Set your default printer, if desired. 331.9Sdholland#export PRINTER=change-this-to-a-printer 341.7Sdholland 351.7Sdholland# Set the search path for programs. 361.10SsnjPATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/pkg/bin 371.1SsimonbPATH=${PATH}:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin 381.1Ssimonbexport PATH 391.1Ssimonb 401.7Sdholland# Configure the shell to load .shrc at startup time. 411.7Sdholland# This will happen for every shell started, not just login shells. 421.4Shubertfexport ENV=$HOME/.shrc 43