diff --git a/core/templates/init.ps1 b/core/templates/init.ps1 index 077bcb9..122c8c5 100644 --- a/core/templates/init.ps1 +++ b/core/templates/init.ps1 @@ -11,7 +11,7 @@ function {{ alias }} { } } $env:_PR_SHELL = 'pwsh'; - &'{{ binary_path }}'; + &'{{ binary_path }}' | Invoke-Expression; } finally { # restore mode from cnf