Hi all,
I want to run a Windows PowerShell in a vim :terminal.
If I start it with
:terminal powershell.exe
I do get a powershell in a terminal buffer, but the "Execution Policy"
is set to "Restricted", which among other things prevents souricing my
profile.ps1 file.
If I start a PowerShell from the "Start" menu, the policy is set to
"RemoteSigned", which is good. The executable being run is the same in
the two cases.
So, here are the questions:
1) how can I get the "RemoteSigned" policy also in the vim terminal instance?
2) why are the two policies different if I start the PowerShell from
the Start menu or inside a vim terminal?
Thank you,
Marco
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAHV2F1Ku%3Ds9Hbyk7t9fvFGRudq601jzKJ9UyY3M92nCi1Vr_Mg%40mail.gmail.com.
Monday, February 1, 2021
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment