diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-07-16 06:13:17 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-07-16 06:13:17 +0200 |
| commit | 933e5894500b3e0101482ed6b168374ae0739158 (patch) | |
| tree | efb25e2ccb4071521545488041ab3554073a5020 | |
| parent | 471027875eb344cd733aec4951e31d1d9eeabf02 (diff) | |
| download | dotfiles-933e5894500b3e0101482ed6b168374ae0739158.tar.gz dotfiles-933e5894500b3e0101482ed6b168374ae0739158.zip | |
Testing, accidental comments not commented
| -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 + |
