commit 7c4d4e4d56b912090cfe4d018819bd34bffe3b32
parent fd23f96109ed6c60b1b3bfdab1970886997ed645
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Sun, 22 Nov 2020 15:23:31 -0800
Fix bug in shell include() function.
The argument was accidentally deleted.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/shell/.config/shell/main b/modules/shell/.config/shell/main
@@ -4,7 +4,7 @@ __progname=`basename -- $0`
# include shell module.
include() {
- local include="${SHELL_MODULE_DIR:?unset}"
+ local include="${SHELL_MODULE_DIR:?unset}/$1"
test -f "$include" || {
printf "%s: include: '%s': File nonexistent.\n" \
$__progname $include;