From 998d9aaf1bb645c00e86581732a6dbf0f56f31fd Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Mon, 27 Jan 2025 19:53:39 +0000 Subject: Initial commit of my oksh .profile --- .profile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .profile diff --git a/.profile b/.profile new file mode 100644 index 0000000..a3f56f0 --- /dev/null +++ b/.profile @@ -0,0 +1,33 @@ +# +# .profile - oksh - Public domain Korn shell startup script for login shells +# +# see also oksh(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 +PATH=$PATH:$HOME/.local/bin; export PATH + +# Path to Helix binary +export PATH=$PATH:~/.cargo/bin + +MANPATH=$HOME/.local/share/man/:$MANPATH; export MANPATH + +EDITOR=hx; export EDITOR +PAGER=less; export PAGER + +SSH_ASKPASS='/home/justine/.local/bin/ssh-askpass.sh'; export SSH_ASKPASS +SSH_ASKPASS_REQUIRE=prefer; export SSH_ASKPASS_REQUIRE + +# Set ENV to a file invoked each time sh is started for interactive use. +ENV=$HOME/.kshrc; export 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 + +# Display a random cookie on each login. +if [ -x /usr/bin/fortune ] ; then /usr/bin/fortune freebsd-tips ; fi -- cgit v1.2.3