mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-13 09:42:27 +00:00
Add Clear-SshKeys function to PS
This commit is contained in:
@@ -14,6 +14,10 @@ function Add-SshKey {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function Clear-SshKeys {
|
||||||
|
Invoke-Expression "ssh-add -D"
|
||||||
|
}
|
||||||
|
|
||||||
function Update-Dotfiles {
|
function Update-Dotfiles {
|
||||||
Join-Path $HOME '.dotfiles' | Push-Location
|
Join-Path $HOME '.dotfiles' | Push-Location
|
||||||
Invoke-Expression -Command "git pull --rebase --autostash"
|
Invoke-Expression -Command "git pull --rebase --autostash"
|
||||||
|
|||||||
Reference in New Issue
Block a user