From 16b3b423531946c30e14aee0c2db92728bff0af6 Mon Sep 17 00:00:00 2001 From: Izuru Yakumo Date: Thu, 13 Apr 2023 20:37:34 -0300 Subject: [PATCH] Use absolute paths for running extensions found in .aya Signed-off-by: Izuru Yakumo --- cmd/aya/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/aya/main.go b/cmd/aya/main.go index 4f04b1b..961e674 100644 --- a/cmd/aya/main.go +++ b/cmd/aya/main.go @@ -299,7 +299,7 @@ func buildAll(watch bool) { func init() { // prepend .aya to $PATH, so plugins will be found before OS commands p := os.Getenv("PATH") - p = AYADIR + ":" + p + p = os.Getenv("PWD") + "/" + AYADIR + ":" + p os.Setenv("PATH", p) } -- 2.43.0