diff options
author | zachir <zachir@librem.one> | 2023-02-09 15:49:32 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-02-09 15:49:32 -0600 |
commit | 944bcb63f0b56cb1b2ac5ace64743a66a9f3b650 (patch) | |
tree | 0539a61823c9d83bb25b890bb5b2c8b55b6eecfc /mksh | |
parent | c2fb36df2c383078b67462b2b93d3f77c376a2e2 (diff) |
fix e alias in *ksh and zsh
Diffstat (limited to 'mksh')
-rw-r--r-- | mksh/mkshrc | 5 |
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 |