From: Izuru Yakumo Date: Thu, 13 Apr 2023 23:37:34 +0000 (-0300) Subject: Use absolute paths for running extensions found in .aya X-Git-Tag: 0.5.1~1 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=16b3b423531946c30e14aee0c2db92728bff0af6;p=aya.git Use absolute paths for running extensions found in .aya Signed-off-by: Izuru Yakumo --- 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) }