Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. Put this in .vimrc
  2. ```
  3. " Set PowerShell as shell
  4. set shell=powershell.exe
  5. set shellcmdflag=-NoProfile\ -NoLogo\ -NonInteractive\ -Command
  6. set shellpipe=|
  7. set shellredir=>
  8. ```
  9. Enable scripts in powershell
  10. ```
  11. C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe "Set-ExecutionPolicy RemoteSigned" <- 64
  12. C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe "Set-ExecutionPolicy RemoteSigned" <- 32
  13. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement