diff options
author | Justine Smithies <justine@smithies.me.uk> | 2025-01-27 19:53:39 +0000 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2025-01-27 19:53:39 +0000 |
commit | 998d9aaf1bb645c00e86581732a6dbf0f56f31fd (patch) | |
tree | 6836fde4b579f30a7c139b50a8e6cf19022c9516 /.profile | |
parent | 0059cc0f060d969c74835f09b1726125bbc0130e (diff) |
Initial commit of my oksh .profile
Diffstat (limited to '.profile')
-rw-r--r-- | .profile | 33 |
1 files changed, 33 insertions, 0 deletions
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 |