summaryrefslogtreecommitdiffstatshomepage
path: root/tmux
diff options
context:
space:
mode:
Diffstat (limited to 'tmux')
-rwxr-xr-xtmux/.local/bin/tmux-sshr1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux/.local/bin/tmux-sshr b/tmux/.local/bin/tmux-sshr
index 3c75b8c..11186ff 100755
--- a/tmux/.local/bin/tmux-sshr
+++ b/tmux/.local/bin/tmux-sshr
@@ -44,6 +44,7 @@ else
-o "ControlMaster=auto" \
-o "ControlPath=${XDG_RUNTIME_DIR}/ssh.%C" \
-R "2222:localhost:22" \
+ -R "${XDG_RUNTIME_DIR}/xdg-open.socket:${XDG_RUNTIME_DIR}/xdg-open.socket" \
-R "$tmux_remote_sock:$tmux_local_sock" \
"$target" "zsh -l -c 'tmux new -A'"
fi