Skip to content

Commit 2dffbc1

Browse files
authored
Add bin subdir to path on entering IronPython environment (#1474)
1 parent 2c8dba1 commit 2dffbc1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Src/Scripts/Enter-IronPythonEnvironment.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ function global:prompt {
143143
[string[]] $newEnvPaths = @($IronPythonEnvironmentPath)
144144
if ($IsWindows) {
145145
$newEnvPaths += Join-Path $IronPythonEnvironmentPath "Scripts"
146+
} else {
147+
$newEnvPaths += Join-Path $IronPythonEnvironmentPath "bin"
146148
}
147149
$newEnvPaths += $env:PATH
148150
$env:PATH = $newEnvPaths -join [IO.Path]::PathSeparator

0 commit comments

Comments
 (0)