summaryrefslogtreecommitdiff
path: root/.config/login.d/90_dot-runtime.sh
blob: bf0ddcc39b73fa25749603587d386e96d639c92c (plain)
1
2
3
4
5
6
7
#!/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 -- ~/.r
if [ -n "$XDG_RUNTIME_DIR" ]; then
	ln -sfT -- "$XDG_RUNTIME_DIR" ~/.r/"$HOSTNAME"
fi