mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-29 04:53:17 +02:00
yubikey plugin: Now list loaded keys after insert/eject
This commit is contained in:
parent
f10b257f0d
commit
c44f30bf07
1 changed files with 2 additions and 2 deletions
|
|
@ -23,8 +23,8 @@ fi
|
|||
|
||||
|
||||
alias yubi-init="pkill ssh-agent; pkill gpg-agent; ssh-agent -s > $_sshpath; source $_sshpath"
|
||||
alias yubi-insert="ssh-add -s $OPENSC"
|
||||
alias yubi-eject="ssh-add -e $OPENSC"
|
||||
alias yubi-insert="ssh-add -s $OPENSC && ssh-add -L"
|
||||
alias yubi-eject="ssh-add -e $OPENSC && ssh-add -L"
|
||||
|
||||
if [[ -r $_sshpath ]]; then
|
||||
echo -n "Common SSH Agent detected. "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue