Commit 790c7338 authored by Dustin L. Howett's avatar Dustin L. Howett

editor: only alias vim->gvim for local sessions

parent 22876493
If ($null -Ne (Get-Command -All gvim -EA:Ignore)) {
New-Alias -Name vim -Value gvim
# Only use gvim in a local session!
If ([String]::IsNullOrEmpty($Env:SSH_CONNECTION)) {
If ($null -Ne (Get-Command -All gvim -EA:Ignore)) {
New-Alias -Name vim -Value gvim
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment