summaryrefslogtreecommitdiff
path: root/mksh
diff options
context:
space:
mode:
Diffstat (limited to 'mksh')
-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