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