From 31f0c52053f7513e3eb91ae989ddeeb8f85ed739 Mon Sep 17 00:00:00 2001 From: Luca Di Maio Date: Sat, 3 Feb 2024 11:28:09 +0100 Subject: [PATCH] enter: fix host/container PATH order, Fix #1145 Signed-off-by: Luca Di Maio --- distrobox-enter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distrobox-enter b/distrobox-enter index 59e6bb8336..bedc1b1a77 100755 --- a/distrobox-enter +++ b/distrobox-enter @@ -381,7 +381,7 @@ generate_command() { done # append additional standard paths to host PATH to get final container_paths if [ -n "${container_paths}" ]; then - container_paths="${container_paths}:${PATH}" + container_paths="${PATH}:${container_paths}" else container_paths="${PATH}" fi