summaryrefslogtreecommitdiff
path: root/mksh/mkshrc
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-09 21:07:06 -0600
committerzachir <zachir@librem.one>2023-02-09 21:07:06 -0600
commit7a2dd5235800003487d43c57d1b76847c692bce4 (patch)
tree8d96101718e456180a6c6df40182a3e5dfe7e5cd /mksh/mkshrc
parent590e65f30f0478d7345be93191dc8bbe151c8a55 (diff)
parent9c096aa3d0e26537228489f3c522070454d96436 (diff)
merge updates
Diffstat (limited to 'mksh/mkshrc')
-rw-r--r--mksh/mkshrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/mksh/mkshrc b/mksh/mkshrc
index 5b61ae3..8d17b8e 100644
--- a/mksh/mkshrc
+++ b/mksh/mkshrc
@@ -26,9 +26,12 @@
# catch non-mksh, non-lksh, trying to run this file
case ${KSH_VERSION:-} in
*LEGACY\ KSH*|*MIRBSD\ KSH*) ;;
-*) \return 0 ;;
+*) . $CONFIG/kshrc && exit ;;
esac
+[ -f "$HOME/.config/sh/aliases" ] && . "$HOME/.config/sh/aliases"
+[ -f "$HOME/.config/sh/functions" ] && . "$HOME/.config/sh/functions"
+
# give MidnightBSD's laffer1 a bit of csh feeling
function setenv {
if (( $# )); then