This commit is contained in:
pika 2025-05-17 13:00:39 +02:00
parent 08acbe36a0
commit a7f7a17b6f

4
.zshrc
View file

@ -799,7 +799,7 @@ __keychain_setup__() {
for i in "${keys[@]}"; do for i in "${keys[@]}"; do
if [ -n $i ]; then if [ -n $i ]; then
if [ -e "$i" ]; then if [ -e "$i" ]; then
eval "$(keychain --eval --agents ssh ~/.ssh/$i)" eval "$(keychain --eval --noask --agents ssh ~/.ssh/$i)"
fi fi
else else
return 69 return 69
@ -808,7 +808,7 @@ __keychain_setup__() {
} }
if ! setupKeys; then if ! setupKeys; then
eval "$(keychain --eval --agents ssh)" eval "$(keychain --eval --noask --agents ssh ~/.ssh/{homelab-id_rsa,hetzner_id_rsa})"
fi fi
} }