Skip to content

Commit

Permalink
Enable interactive mode if env set
Browse files Browse the repository at this point in the history
  • Loading branch information
exileed authored Sep 19, 2018
1 parent 80312d0 commit 98b1e28
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 @@ -53,7 +53,7 @@ fn use_interactive_shell() -> bool {
// check for explicit environment variable setting
if let Ok(interactive_flag) = env::var("WSL_USE_INTERACTIVE_SHELL") {
if interactive_flag == "true" || interactive_flag == "1" {
return false;
return true;
}
}
// check for advanced usage indicated by BASH_ENV and WSLENV=BASH_ENV
Expand Down

0 comments on commit 98b1e28

Please sign in to comment.