osenv/scripts/osenv.ps1

9 lines
141 B
PowerShell

function osenv {
$cmd = osenv-bin @Args
if ($?) {
$cmd | Invoke-Expression
}
else {
Write-Output $cmd
}
}