From fa06fe9866878c44b8f6cf955698c52d8771809b Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Sun, 21 Aug 2022 20:57:19 -0700 Subject: [PATCH] shell: sh compatibility --- .config/shell/shrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/shell/shrc b/.config/shell/shrc index 3022331..d027687 100644 --- a/.config/shell/shrc +++ b/.config/shell/shrc @@ -19,7 +19,7 @@ # [optional: operation (source, exec, command or nothing)] \ careful_source() { if test "${4:--f}" "$1"; then - ${5:-source} "$1" + ${5:-.} "$1" else if test -n "${2+foo}"; then printf "%s\n" "$2" >&2