From 76c27e514add65a00cefce5492ea25ae3c09a013 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 17 Jul 2021 13:51:14 +0200 Subject: fbsd 13 update --- .profile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to '.profile') diff --git a/.profile b/.profile index 246cc10..046b42e 100644 --- a/.profile +++ b/.profile @@ -1,24 +1,28 @@ -# $FreeBSD: releng/12.1/share/skel/dot.profile 337497 2018-08-08 19:24:20Z asomers $ +# $FreeBSD$ # # .profile - Bourne Shell startup script for login shells # # see also sh(1), environ(7). # - # These are normally set through /etc/login.conf. You may override them here # if wanted. # PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH -# BLOCKSIZE=K; export BLOCKSIZE # Setting TERM is normally done through /etc/ttys. Do only override # if you're sure that you'll never log in via telnet or xterm or a # serial line. # TERM=xterm; export TERM +# EDITOR=vi; export EDITOR +# PAGER=less; export PAGER + # set ENV to a file invoked each time sh is started for interactive use. export ENV=$HOME/.config/env +# Let sh(1) know it's at home, despite /home being a symlink. +if [ "$PWD" != "$HOME" ] && [ "$PWD" -ef "$HOME" ] ; then cd ; fi + # Query terminal size; useful for serial lines. # if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi -- cgit v1.2.3