diff --git a/posh/Microsoft.PowerShell_profile.ps1 b/posh/Microsoft.PowerShell_profile.ps1 index 4590196..6b37621 100644 --- a/posh/Microsoft.PowerShell_profile.ps1 +++ b/posh/Microsoft.PowerShell_profile.ps1 @@ -14,6 +14,10 @@ function Add-SshKey { } } +function Clear-SshKeys { + Invoke-Expression "ssh-add -D" +} + function Update-Dotfiles { Join-Path $HOME '.dotfiles' | Push-Location Invoke-Expression -Command "git pull --rebase --autostash"