Skip to content

Commit

Permalink
fix: set bash --noprofile for env._.source (jdx#3611)
Browse files Browse the repository at this point in the history
Fixes jdx#3605
  • Loading branch information
jdx authored Dec 16, 2024
1 parent 7efdb9f commit 52d13fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/env_diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ impl EnvDiff {
let bash_path = file::which("bash").unwrap_or("/bin/bash".into());
let out = cmd!(
bash_path,
"--noprofile",
"-c",
indoc::formatdoc! {"
. {script}
Expand Down

0 comments on commit 52d13fe

Please sign in to comment.