[feature] add Find-Login to copy username/account
This commit is contained in:
parent
6d7dbc8660
commit
49b5e313c2
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user