From 04eb86fe14a215f57e9776ac8cb48ad30ec405f3 Mon Sep 17 00:00:00 2001 From: clerie Date: Thu, 12 Sep 2024 09:44:38 +0200 Subject: [PATCH] pkgs/run-with-docker-group: Add common env vars --- pkgs/run-with-docker-group/run-with-docker-group.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/run-with-docker-group/run-with-docker-group.sh b/pkgs/run-with-docker-group/run-with-docker-group.sh index 2c6087a..516eebe 100755 --- a/pkgs/run-with-docker-group/run-with-docker-group.sh +++ b/pkgs/run-with-docker-group/run-with-docker-group.sh @@ -11,4 +11,7 @@ exec systemd-run \ "--property=SupplementaryGroups=docker" \ "--pty" "--same-dir" "--wait" "--collect" "--service-type=exec" \ "--quiet" \ + "--setenv=PATH" \ + "--setenv=EDITOR" \ + "--setenv=PAGER" \ "$@"