From 47c62388e0e48e2d769cb271e118f2488e8564df Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Mon, 15 Mar 2021 23:02:48 +0100 Subject: [PATCH] fix for bash: force alias expansion --- scripts/core/sxmo_common.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/core/sxmo_common.sh b/scripts/core/sxmo_common.sh index 7af02b0..a43a9f5 100644 --- a/scripts/core/sxmo_common.sh +++ b/scripts/core/sxmo_common.sh @@ -22,6 +22,9 @@ command -v "$KEYBOARD" > /dev/null || export KEYBOARD=svkbd-mobile-intl # certain coreutils rather than any other version that may be installed on the # user's computer +#aliases aren't expanded in bash +command -v shopt > /dev/null && shopt -s expand_aliases + alias find="busybox find" alias pkill="busybox pkill" alias pgrep="busybox pgrep"