From 0141cb0635ddb47badd932a0897352fc9827a8be Mon Sep 17 00:00:00 2001 From: iff Date: Sun, 26 Jan 2025 18:40:48 +0100 Subject: [PATCH] chore: remove alias env after use --- core/src/shell.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/shell.rs b/core/src/shell.rs index e570fa4..9ccc19e 100644 --- a/core/src/shell.rs +++ b/core/src/shell.rs @@ -418,6 +418,7 @@ pub fn alias_map(shell: &str) -> Option> { unreachable!("Unsupported shell: {}", shell); } } + std::env::remove_var("_PR_ALIAS"); Some(alias_map) }