Commit Diff


commit - 957398bd86a43bde50468b64145b9e1c9418a5c2
commit + ab1b889965c7faad2f6053ad99af9ef953a224f7
blob - 7ba995d037dabeef0731b72539f650c3cc7d0538
blob + 0177b102326e884bb67b6fd99373c5c887fcd3b7
--- dotfiles/.profile
+++ dotfiles/.profile
@@ -5,7 +5,13 @@
 PATH=$HOME/.local/bin:$HOME/.cargo/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/local/jdk-21/bin
 export PATH HOME TERM
 
-export ENV=/etc/mykshrc
+if [ -e /etc/mykshrc ]; then
+	ENV=/etc/mykshrc
+elif [ -e "$HOME/.kshrc" ]; then
+	ENV="$HOME/.kshrc"
+fi
+
+export ENV
 export LANG=en_US.UTF-8
 export GOT_AUTHOR="Benjamin Stürz <benni@stuerz.xyz>"
 export QT_QPA_PLATFORMTHEME=qt5ct