-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix (shell) : Improve shell detection on windows (#3767)
- Currently we rely on `SHELL` environment variable for detecting active shell type. This will work when the environment variable is set. As per my observations, this environment variable is not set explicitly by various linux shell environments (`bash`,`zsh`,`fish`). We should detect currently active shell by checking currently active processes instead. - While generating statements for export statements on Windows, we shall make sure that we have converted windows paths to linux paths. Signed-off-by: Rohan Kumar <[email protected]>
- Loading branch information
1 parent
c72a45f
commit cc31fe3
Showing
6 changed files
with
475 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.