From ffc77f8a9c561ef41b3ca8459f73c7e71570123a Mon Sep 17 00:00:00 2001 From: fanyx Date: Fri, 15 Sep 2023 10:57:58 +0200 Subject: [PATCH] prepend PATH instead of appending --- .void.profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.void.profile b/.void.profile index 9fc5823..cc2d86e 100644 --- a/.void.profile +++ b/.void.profile @@ -43,6 +43,6 @@ for x in \ [ -d "$x" ] || continue case ":${PATH}:" in *":${x}:"*) ;; - *) PATH="${PATH:+$PATH:}${x}" ;; + *) PATH="${x:+$x:}${PATH}" ;; esac done