wip
This commit is contained in:
parent
08acbe36a0
commit
a7f7a17b6f
1 changed files with 2 additions and 2 deletions
4
.zshrc
4
.zshrc
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue