diff options
author | Tommy Au <[email protected]> | 2022-11-05 17:50:23 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2022-11-05 10:50:23 +0100 |
commit | f0ed89d17c88aa65109d52f644e1221d596b82e7 (patch) | |
tree | 01acf7ad733c219d9ec8ae289e7031f8d4e0976a | |
parent | 9aa9bce3bcd6619b79e2c2814114c0b3fe8adc1e (diff) |
fix(installer): use quotes in set-alias (#3408)
-rw-r--r-- | utils/installer/install.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/installer/install.ps1 b/utils/installer/install.ps1 index 7b07c86f..41c73e7e 100644 --- a/utils/installer/install.ps1 +++ b/utils/installer/install.ps1 @@ -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 } |