cli: add SHELL environment variable to "rad debug" output

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2024-05-16 12:06:04 +02:00
committed by cloudhead
parent 660236225e
commit 0d00528d48
+1 -1
View File
@@ -60,7 +60,7 @@ fn debug(profile: &Profile) -> anyhow::Result<()> {
let env = HashMap::from_iter(env::vars().filter_map(|(k, v)| {
if k == "RAD_PASSPHRASE" {
Some((k, "<REDACTED>".into()))
} else if k.starts_with("RAD_") || k.starts_with("SSH_") || k == "PATH" {
} else if k.starts_with("RAD_") || k.starts_with("SSH_") || k == "PATH" || k == "SHELL" {
Some((k, v))
} else {
None