ssh: mkdir for the ssh-agent
This commit is contained in:
parent
61e5bb9aaf
commit
dbdc1b99da
1 changed files with 1 additions and 0 deletions
1
.ssh/rc
1
.ssh/rc
|
@ -1,3 +1,4 @@
|
||||||
if [[ -S "$SSH_AUTH_SOCK" && ! -h "$SSH_AUTH_SOCK" ]]; then
|
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";
|
ln -sf "$SSH_AUTH_SOCK" "${XDG_RUNTIME_DIR}/gcr/ssh";
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue