Skip to content

Commit

Permalink
fix(installer): use quotes in set-alias (#3408)
Browse files Browse the repository at this point in the history
  • Loading branch information
smarttommyau committed Nov 5, 2022
1 parent 9aa9bce commit f0ed89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/installer/install.ps1
Expand Up @@ -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
}
Expand Down

0 comments on commit f0ed89d

Please sign in to comment.