mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-28 18:53:29 +01:00
feat(ssh-agent): support id_ed25519_sk
(#12663)
This commit is contained in:
parent
80fa5e1376
commit
2abecedf67
@ -43,7 +43,7 @@ function _add_identities() {
|
|||||||
# this is to mimic the call to ssh-add with no identities
|
# this is to mimic the call to ssh-add with no identities
|
||||||
if [[ ${#identities} -eq 0 ]]; then
|
if [[ ${#identities} -eq 0 ]]; then
|
||||||
# key list found on `ssh-add` man page's DESCRIPTION section
|
# key list found on `ssh-add` man page's DESCRIPTION section
|
||||||
for id in id_rsa id_dsa id_ecdsa id_ed25519 identity; do
|
for id in id_rsa id_dsa id_ecdsa id_ed25519 id_ed25519_sk identity; do
|
||||||
# check if file exists
|
# check if file exists
|
||||||
[[ -f "$HOME/.ssh/$id" ]] && identities+=($id)
|
[[ -f "$HOME/.ssh/$id" ]] && identities+=($id)
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user