summaryrefslogtreecommitdiff
path: root/.config/login.d/90_dot-runtime.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lshumake@codeaurora.org>2015-06-11 09:05:31 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-07-19 19:13:56 -0600
commitb780c946dc5d61cd00988a62aa281155ffb89363 (patch)
treedc67207a31dd72ebfa089d3959687b8bc41f8586 /.config/login.d/90_dot-runtime.sh
parenta9fb80359a3e84ed7b64d3ecdf699acc5e53abc9 (diff)
fix XDG_RUNTIME_DIR management
Diffstat (limited to '.config/login.d/90_dot-runtime.sh')
-rw-r--r--.config/login.d/90_dot-runtime.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/login.d/90_dot-runtime.sh b/.config/login.d/90_dot-runtime.sh
new file mode 100644
index 0000000..d06568f
--- /dev/null
+++ b/.config/login.d/90_dot-runtime.sh
@@ -0,0 +1,4 @@
+# This is really only needed for ssh ControlPath; as I don't have a
+# way to communicate XDG_RUNTIME_DIR to it otherwise.
+mkdir -p -- ~/.runtime
+ln -sfT -- "$XDG_RUNTIME_DIR" ~/.runtime/"$HOSTNAME"