From 97ad10c9aab1b72ccb2e1c566cc2bd21556047d4 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 10 Nov 2025 03:31:32 +0900 Subject: [PATCH] profile: skip setting PS0 when PROMPT_COMMAND= is cleared Fixes #39639. --- profile.d/80-systemd-osc-context.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/profile.d/80-systemd-osc-context.sh b/profile.d/80-systemd-osc-context.sh index c83e0d3c42..ead61b6753 100644 --- a/profile.d/80-systemd-osc-context.sh +++ b/profile.d/80-systemd-osc-context.sh @@ -60,6 +60,13 @@ __systemd_osc_context_precmdline() { read -r systemd_osc_context_cmd_id