diff options
Diffstat (limited to 'win-nvim.ps1')
| -rw-r--r-- | win-nvim.ps1 | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/win-nvim.ps1 b/win-nvim.ps1 index 608a297..2ca2509 100644 --- a/win-nvim.ps1 +++ b/win-nvim.ps1 @@ -29,11 +29,25 @@ if (!(Test-Path $localPacker -PathType Container)) { # Set-ExecutionPolicy RemoteSigned # Then run the script by using this command in the same existing directory: # ./win-nvim.ps1 -curl -o winget-cli.appxbundle https://aka.ms/winget-cli-appxbundle -powershell Add-AppxPackage -Path "winget-cli.appxbundle" -Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) -use `-y` or consider: choco feature enable -n allowGlobalConfirmation -choco install git -- Refresh the environment -Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1 -refreshenv +#curl -o winget-cli.appxbundle https://aka.ms/winget-cli-appxbundle +#powershell Add-AppxPackage -Path "winget-cli.appxbundle" +#Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) +#use `-y` or consider: choco feature enable -n allowGlobalConfirmation +#choco install git +#- Refresh the environment +#Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1 +#refreshenv +# +# +#here is the error +#At C:\Users\grayt\scripts\win-nvim.ps1:37 char:2 +#+ - Refresh the environment +#+ ~ +#Missing expression after unary operator '-' +#At C:\Users\grayt\scripts\win-nvim.ps1:37 char:3 +#+ - Refresh the environment +#+ ~~~~~~~~ +#Unexpected token 'Refresh' in expression or statement. +# + CategoryInfo : ParserError: (:) [], ParseException +# + FullyQualifiedErrorId : MissingExpressionAfterOperator + |
