We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af060ad commit 31476a1Copy full SHA for 31476a1
pkgs/locker/hook.go
@@ -39,7 +39,12 @@ const PowershellHook = `function cdhook {
39
}
40
41
42
-Set-Alias -Name cd -Option AllScope -Value cdhook`
+function vmrsource {
43
+ $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
44
+}
45
+
46
+Set-Alias -Name cd -Option AllScope -Value cdhook
47
+Set-Alias -Name source -Option AllScope --Value vmrsource`
48
49
func CdHookForUnix() {
50
envFilePath := filepath.Join(conf.GetVersionManagerWorkDir(), envs.ShellFileName)
0 commit comments