summaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2021-07-17 13:51:14 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2021-07-17 13:51:14 +0200
commit76c27e514add65a00cefce5492ea25ae3c09a013 (patch)
tree727b520f88a4412cab677c3de605722753c92c99 /.profile
parentadded zdoom conf (diff)
downloaddotfiles-bsd-76c27e514add65a00cefce5492ea25ae3c09a013.tar.gz
dotfiles-bsd-76c27e514add65a00cefce5492ea25ae3c09a013.tar.bz2
dotfiles-bsd-76c27e514add65a00cefce5492ea25ae3c09a013.tar.xz
dotfiles-bsd-76c27e514add65a00cefce5492ea25ae3c09a013.tar.zst
dotfiles-bsd-76c27e514add65a00cefce5492ea25ae3c09a013.zip
fbsd 13 update
Diffstat (limited to '')
-rw-r--r--.profile10
1 files changed, 7 insertions, 3 deletions
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