-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add find_msvs custom command to the nu_msvs module (#881)
I changed `export-env {}` at the beginning to a custom command to avoid having `export-env` run when loading the module because: 1. I couldn't use `nu_msvs activate` because it depends on env vars being set that were hidden with `nu_msvs deactivate` 2. It seems that `export-env` executed at `use`, leaves `$env.FILE_PWD` available in the environment which I think may be a bug. So, putting it in a custom command avoids that.
- Loading branch information
Showing
1 changed file
with
68 additions
and
59 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