From bde70052c4b05b9ecc19b17f03bcff348bfc354a Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 12 Dec 2015 17:27:17 -0500 Subject: shorten ~/.runtime to ~/.r --- .config/login.d/90_dot-runtime.sh | 6 +++--- .config/ssh/config | 2 +- 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 ################################################### -- cgit v1.2.3