ssh: mkdir for the ssh-agent

This commit is contained in:
Daniel Lundin 2023-06-14 11:31:51 +02:00
parent 61e5bb9aaf
commit dbdc1b99da

View file

@ -1,3 +1,4 @@
if [[ -S "$SSH_AUTH_SOCK" && ! -h "$SSH_AUTH_SOCK" ]]; then
mkdir -p "${XDG_RUNTIME_DIR}/gcr";
ln -sf "$SSH_AUTH_SOCK" "${XDG_RUNTIME_DIR}/gcr/ssh";
fi