From 30597e31ed330d2ae5c11d0cd98fd3e1a7dfdf79 Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Fri, 17 Jan 2025 09:03:53 +0000 Subject: [PATCH] =?UTF-8?q?feat(profile):=20Am=C3=A9lioration=20de=20la=20?= =?UTF-8?q?gestion=20de=20keychain?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- profile.d/keychain | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/profile.d/keychain b/profile.d/keychain index 5681c37..987d3bf 100644 --- a/profile.d/keychain +++ b/profile.d/keychain @@ -1,6 +1,5 @@ #!/bin/bash -if $(which keychain &> /dev/null) -then - eval $(keychain --agents ssh,gpg --eval) +if (command -v keychain &>/dev/null); then + eval "$(keychain --eval --noask ~/.ssh/{id_ed25519,id_rsa_native})" fi