mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
fix(installer): use quotes in set-alias (#3408)
This commit is contained in:
parent
9aa9bce3bc
commit
f0ed89d17c
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ function create_alias {
|
|||
New-Item -Path $PROFILE -ItemType "file" -Force
|
||||
}
|
||||
|
||||
Add-Content -Path $PROFILE -Value $("`r`nSet-Alias lvim $lvim_bin")
|
||||
Add-Content -Path $PROFILE -Value $("`r`nSet-Alias lvim '$lvim_bin'")
|
||||
|
||||
Write-Host 'To use the new alias in this window reload your profile with: `. $PROFILE`' -ForegroundColor Green
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue