summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-12-12 17:27:17 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-12-12 17:27:17 -0500
commitbde70052c4b05b9ecc19b17f03bcff348bfc354a (patch)
tree3ba48a5e754b973687b3f28798030ef1a542987f
parentb29a4ce1e8256987e195c710a76bb529644ed46f (diff)
shorten ~/.runtime to ~/.r
-rw-r--r--.config/login.d/90_dot-runtime.sh6
-rw-r--r--.config/ssh/config2
2 files changed, 4 insertions, 4 deletions
diff --git a/.config/login.d/90_dot-runtime.sh b/.config/login.d/90_dot-runtime.sh
index 9aefa59..9536fb4 100644
--- a/.config/login.d/90_dot-runtime.sh
+++ b/.config/login.d/90_dot-runtime.sh
@@ -1,9 +1,9 @@
#!/hint/sh
# 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
+mkdir -p -- ~/.r
if [ -n "$XDG_RUNTIME_DIR" ]; then
- ln -sfT -- "$XDG_RUNTIME_DIR" ~/.runtime/"$HOSTNAME"
+ ln -sfT -- "$XDG_RUNTIME_DIR" ~/.r/"$HOSTNAME"
else
- ln -sfT -- /tmp ~/.runtime/"$HOSTNAME"
+ ln -sfT -- /tmp ~/.r/"$HOSTNAME"
fi
diff --git a/.config/ssh/config b/.config/ssh/config
index f651513..a243c5d 100644
--- a/.config/ssh/config
+++ b/.config/ssh/config
@@ -1,7 +1,7 @@
Host *
Protocol 2
ControlMaster auto
- ControlPath ~/.runtime/%l/ssh-%r@%h:%p
+ ControlPath ~/.r/%l/ssh-%r@%h:%p
Compression yes
# Purdue ###################################################