Index: bin/sh/Makefile =================================================================== --- bin/sh/Makefile +++ bin/sh/Makefile @@ -3,9 +3,12 @@ .include -CONFS= dot.profile profile -CONFSDIR_dot.profile= /root -CONFSNAME_dot.profile= .profile +CONFGROUPS= ETC ROOT +ETC= profile +ROOT= dot.shrc dot.profile +ROOTDIR= /root +ROOTNAME_dot.shrc= .shrc +ROOTNAME_dot.profile= .profile PACKAGE=runtime PROG= sh INSTALLFLAGS= -S Index: bin/sh/dot.profile =================================================================== --- bin/sh/dot.profile +++ bin/sh/dot.profile @@ -9,6 +9,9 @@ PAGER=less export PAGER +# set ENV to a file invoked each time sh is started for interactive use. +ENV=$HOME/.shrc; export ENV + # Query terminal size; useful for serial lines. if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi Index: bin/sh/dot.shrc =================================================================== --- bin/sh/dot.shrc +++ bin/sh/dot.shrc @@ -1,4 +1,4 @@ -# $FreeBSD: head/share/skel/dot.shrc 343399 2019-01-24 11:59:46Z trasz $ +# $FreeBSD: head/bin/sh/dot.shrc 342812 2019-01-06 16:23:28Z trasz $ # # .shrc - bourne shell startup file #