~mjorgensen/windows-dotfiles

778c720f011e67d211ff7eb730a203904d9a725e — Matthew Jorgensen 27 days ago 03029e4
Add some customized ping commands
1 files changed, 10 insertions(+), 0 deletions(-)

M aliases.ps1
M aliases.ps1 => aliases.ps1 +10 -0
@@ 9,5 9,15 @@ Set-Alias -Name ydl -Value youtube-dl
function Open-SublimeTextAndMerge { & smerge $args; & subl $args }
New-Alias -Name lime -Value Open-SublimeTextAndMerge

function Test-HostReachability {
    test-connection $args -Repeat | select @{n='TimeStamp';e={Get-Date}}, Ping, Destination, Address, Latency | ft
}
Set-Alias -Name ping2 -Value Test-HostReachability

function Better-Ping {
    & ping.exe $args -t
}
Set-Alias -Name ping -Value Better-Ping

# Source git aliases
. "$wd\git-aliases.ps1"