vim: Do not set shell

Closes #4753
This commit is contained in:
Rashil Gandhi 2022-02-23 21:46:42 +05:30 committed by GitHub
parent 786935d359
commit 1fd503daea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,10 +21,6 @@
" $content = (Get-Content \"$bucketsdir\\main\\scripts\\vim\\$_\").Replace('$vim', $vimpath)",
" if ($global) { $content = $content.Replace('HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE') }",
" Set-Content \"$dir\\$_\" $content",
"}",
"if (!(Test-Path \"$persist_dir\\vimrc\")) {",
" New-Item \"$dir\\vimrc\" -ItemType File | Out-Null",
" Add-Content \"$dir\\vimrc\" \"set shell=$((Get-Command powershell).Path)\\ -ExecutionPolicy\\ Bypass\" -Encoding Ascii",
"}"
],
"bin": [
@ -97,10 +93,6 @@
"gVim"
]
],
"persist": [
"vimfiles",
"vimrc"
],
"checkver": {
"url": "https://ftp.nluug.nl/pub/vim/pc",
"regex": "gvim(?<ver>[\\d-]+)\\.exe\\s+V([\\d.]+)"