summaryrefslogtreecommitdiff
path: root/tohu/nextstep/.profile
diff options
context:
space:
mode:
authorsqmon <[email protected]>2026-11-23 18:36:26 +0100
committersqmon <[email protected]>2026-11-23 18:36:26 +0100
commit725df38532950dac8a446950ec63a348df3cab63 (patch)
treee3c1bcbde1a473c0ad75b85d971d37c32932b837 /tohu/nextstep/.profile
add tohu nextstep dots
Diffstat (limited to 'tohu/nextstep/.profile')
-rw-r--r--tohu/nextstep/.profile20
1 files changed, 20 insertions, 0 deletions
diff --git a/tohu/nextstep/.profile b/tohu/nextstep/.profile
new file mode 100644
index 0000000..35c2099
--- /dev/null
+++ b/tohu/nextstep/.profile
@@ -0,0 +1,20 @@
+export SHELL="/usr/bin/oksh"
+export ENV="$HOME/.kshrc"
+export PLAN9="/usr/lib/plan9"
+export PATH="/usr/local/bin:/usr/bin:/bin:$HOME/.local/bin:$PLAN9/bin:$PATH"
+export EDITOR="micro"
+export VISUAL="micro"
+export XKB_DEFAULT_LAYOUT=de
+
+export XDG_RUNTIME_DIR="/tmp/$(id -u)-runtime-dir"
+if [ ! -d "$XDG_RUNTIME_DIR" ]; then
+ mkdir -p -m 0700 "$XDG_RUNTIME_DIR"
+fi
+export NAMESPACE="$XDG_RUNTIME_DIR/p9ns"
+if [ ! -d "$NAMESPACE" ]; then
+ mkdir -p -m 0700 "$NAMESPACE"
+fi
+
+case "$-" in
+ *i*) [ -f "$ENV" ] && . "$ENV" ;;
+esac