From: root Date: Tue, 14 Jan 2025 21:56:23 +0000 (-0500) Subject: updated name for locater method X-Git-Tag: 2.140.189^2~31^2~1^2 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=404458c02497f0aaffa9a68da7f96679d90026ba;p=feisty_meow.git updated name for locater method --- diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index 85a8fac8..4f56f70b 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -136,7 +136,7 @@ if [ -z "$skip_all" ]; then # attempts to find a script by the name passed in, as either a function or an alias. # if the alias points directly at a script file, then that will be printed to stdout. - function locate_script() + function locater() { local script_name="$1"; shift maybe_found="$(type "$script_name" | sed -n -r -e "s/^.*is aliased to .[^ ]+ (.*).$/\1/p")"