[feature] add Find-Login to copy username/account

This commit is contained in:
Klesh Wong 2021-06-04 15:50:30 +08:00
parent 6d7dbc8660
commit 49b5e313c2

View File

@ -141,5 +141,15 @@ function Find-Pass {
}
}
Export-ModuleMember -Function Edit-Pass,New-Pass,Get-Pass,Find-Pass
function Find-Login {
$selected = FzfPass
if ($selected) {
$login = Split-Path -Leaf $selected
Write-Host $login
Set-Clipboard $login
}
}
Export-ModuleMember -Function Edit-Pass,New-Pass,Get-Pass,Find-Pass,Find-Login