better shell

This commit is contained in:
2025-09-29 15:19:53 +02:00
parent dcb6cd943d
commit 1a6fe0ca68
8 changed files with 73 additions and 40 deletions

10
.scripts/ssh-init Normal file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
if [ -z "$SSH_AUTH_SOCK" ]; then
eval "$(ssh-agent -s)" >/dev/null 2>&1
for key in "$HOME/.ssh/keys/"*; do
if [ -f "$key" ]; then
ssh-add "$key" >/dev/null 2>&1
fi
done
fi