xref: /freebsd/share/skel/dot.profile (revision 389e4940069316fe667ffa263fa7d6390d0a960f)
1# $FreeBSD$
2#
3# .profile - Bourne Shell startup script for login shells
4#
5# see also sh(1), environ(7).
6#
7
8# These are normally set through /etc/login.conf.  You may override them here
9# if wanted.
10# PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH
11# BLOCKSIZE=K;	export BLOCKSIZE
12
13# Setting TERM is normally done through /etc/ttys.  Do only override
14# if you're sure that you'll never log in via telnet or xterm or a
15# serial line.
16# TERM=xterm; 	export TERM
17
18EDITOR=vi;   	export EDITOR
19PAGER=more;  	export PAGER
20
21# set ENV to a file invoked each time sh is started for interactive use.
22ENV=$HOME/.shrc; export ENV
23
24# Query terminal size; useful for serial lines.
25if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi
26
27# Display a random cookie on each login.
28if [ -x /usr/bin/fortune ] ; then /usr/bin/fortune freebsd-tips ; fi
29