Add vi alias
This commit is contained in:
parent
9f9f6dc286
commit
1f464fa41a
1 changed files with 5 additions and 0 deletions
|
@ -78,6 +78,11 @@ if (!(Get-Command Get-Uptime -ErrorAction SilentlyContinue)) {
|
|||
}
|
||||
}
|
||||
|
||||
if ($nvim = Get-Command nvim.exe -ErrorAction SilentlyContinue) {
|
||||
Set-Alias -Name vi -Value $nvim.Source
|
||||
}
|
||||
Remove-Variable -Name nvim
|
||||
|
||||
# Force UTF-8 output.
|
||||
$OutputEncoding = [System.Text.Encoding]::UTF8
|
||||
|
||||
|
|
Loading…
Reference in a new issue