From a394973ffedc02a3ea622b353fecbd078b8c0f8e Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 7 Feb 2015 14:38:51 -0500 Subject: Have the link to XDG_RUNTIME_DIR be at ~/.runtime/HOSTNAME --- .config/login.d/90_dot-runtime.sh | 5 ++++- .config/ssh/config | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.config/login.d/90_dot-runtime.sh b/.config/login.d/90_dot-runtime.sh index d597cc7..87d30ec 100644 --- a/.config/login.d/90_dot-runtime.sh +++ b/.config/login.d/90_dot-runtime.sh @@ -1 +1,4 @@ -ln -sfT -- "$XDG_RUNTIME_DIR" ~/.runtime +# This is really only needed for ssh ControlPath; as I don't have a +# way to communicate XD +mkdir -p -- ~/.runtime +ln -sfT -- "$XDG_RUNTIME_DIR" ~/.runtime/"$HOSTNAME" diff --git a/.config/ssh/config b/.config/ssh/config index 00a84b8..07240a6 100644 --- a/.config/ssh/config +++ b/.config/ssh/config @@ -1,7 +1,7 @@ Host * Protocol 2 ControlMaster auto - ControlPath ~/.runtime/ssh-%r@%h:%p + ControlPath ~/.runtime/%l/ssh-%r@%h:%p Compression yes # Purdue ################################################### -- cgit v1.1-4-g5e80