Skip to content

Commit

Permalink
Merge pull request #2 from exileed/master
Browse files Browse the repository at this point in the history
Enable interactive mode
  • Loading branch information
曹维杰 authored Sep 20, 2018
2 parents 80312d0 + 98b1e28 commit abaeb21
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 abaeb21

Please sign in to comment.