Use absolute paths for running extensions found in .aya

Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
このコミットが含まれているのは:
Izuru Yakumo 2023-04-13 20:37:34 -03:00
コミット 16b3b42353
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -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)
}