summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorchers <chers@hgdump.net>2026-10-27 22:15:20 +1300
committerchers <chers@hgdump.net>2026-10-27 22:15:20 +1300
commitb871e63d3a41f14eb0c599e296b4370674167709 (patch)
treeb9e091bc4928ce2abd6b3ce40953bae3ea13ccd8 /.profile
intmain
Diffstat (limited to '.profile')
-rw-r--r--.profile16
1 files changed, 16 insertions, 0 deletions
diff --git a/.profile b/.profile
new file mode 100644
index 0000000..9cab631
--- /dev/null
+++ b/.profile
@@ -0,0 +1,16 @@
+# sh/ksh initialization
+
+export XDG_RUNTIME_DIR="/run/user/$(id -u)"
+
+PATH="$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:$HOME/.local/bin"
+export PATH HOME TERM
+export ENV="$HOME/.kshrc"
+
+if [ -d "$XDG_RUNTIME_DIR" ]; then
+ chmod 700 "$XDG_RUNTIME_DIR"
+ openrc -U default
+fi
+
+if [ -f "$HOME/.kshrc" ]; then
+ . "$HOME/.kshrc"
+fi