mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-11-14 15:13:49 +00:00
install neovim configs for windows if no wsl detected
This commit is contained in:
parent
7d8872d70d
commit
c90d46ef6c
@ -155,7 +155,10 @@ CopyFileWithPrompt "$dotfilesRepo\alacritty\alacritty.toml" "$alacrittyConfigDir
|
||||
|
||||
# Setting up Neovim Configuration
|
||||
Write-Host "Setting up Neovim configuration..." -ForegroundColor Cyan
|
||||
ProcessUrlFiles -sourceDir "$dotfilesRepo\nvim" -destinationDir "$env:LOCALAPPDATA"
|
||||
$ubuntu = wsl.exe -l --all | Where-Object { $_.Replace("`0", "") -match '^Ubuntu' }
|
||||
if ($null -eq $ubuntu)
|
||||
{ ProcessUrlFiles -sourceDir "$dotfilesRepo\nvim" -destinationDir "$env:LOCALAPPDATA"
|
||||
}
|
||||
|
||||
# Setting up PowerShell Profile
|
||||
Write-Host "Setting up PowerShell profile..." -ForegroundColor Cyan
|
||||
|
Loading…
Reference in New Issue
Block a user