mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-25 23:59:07 +08:00
don't error if vim slias exists
This commit is contained in:
parent
9a851da2cf
commit
b2135cd0a9
2
vendor/profile.ps1
vendored
2
vendor/profile.ps1
vendored
@ -87,7 +87,7 @@ if ($null -ne $ENV:GIT_INSTALL_ROOT) {
|
||||
}
|
||||
|
||||
if (Get-Command -Name "vim" -ErrorAction SilentlyContinue) {
|
||||
New-Alias -name "vi" -value vim
|
||||
New-Alias -name "vi" -value vim -errorAction SilentlyContinue
|
||||
}
|
||||
|
||||
if (Get-Module PSReadline -ErrorAction "SilentlyContinue") {
|
||||
|
Loading…
Reference in New Issue
Block a user