This commit is contained in:
Morten Olsen
2023-09-12 08:28:05 +02:00
commit 6a41699dc3
69 changed files with 2040 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
export TMPDIR=${TMPDIR:-/tmp}
if ! pgrep -U "$UID" ssh-agent > /dev/null; then
ssh-agent > "$XDG_RUNTIME_DIR/ssh-agent.env"
fi
if [[ ! "$SSH_AUTH_SOCK" ]]; then
eval "$(<"$XDG_RUNTIME_DIR/ssh-agent.env")"
fi