From d77fe6bc76da1ecc93bec41abf2139619182bc95 Mon Sep 17 00:00:00 2001 From: Pandu POLUAN Date: Thu, 28 Dec 2017 11:53:25 +0700 Subject: [PATCH] BUGFIX: wrong switch for ssh-add --- plugins/yubikey/yubikey.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/yubikey/yubikey.plugin.zsh b/plugins/yubikey/yubikey.plugin.zsh index ae60ad2bf..4c9b5f895 100644 --- a/plugins/yubikey/yubikey.plugin.zsh +++ b/plugins/yubikey/yubikey.plugin.zsh @@ -23,7 +23,7 @@ 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 -d $OPENSC" +alias yubi-eject="ssh-add -e $OPENSC" if [[ -r $_sshpath ]]; then echo "Common SSH Agent detected."