Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
call WSL git non-interactively yet still with .bashrc
Browse files Browse the repository at this point in the history
  • Loading branch information
diablodale committed Feb 2, 2018
1 parent d7330c6 commit 2ab9c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ fn main() {
Stdio::inherit()
};
let git_proc = Command::new("bash")
.arg("-i")
.env("BASH_ENV", "~/.bashrc")
.arg("-c")
.arg(&git_cmd)
.stdin(stdin_mode)
Expand Down

0 comments on commit 2ab9c81

Please sign in to comment.