From 56e0d9deb219923994115a44d2aa5c691884520b Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 11 Dec 2025 16:01:14 +0300 Subject: [PATCH] Ability to pass additional arguments --- ssh/.zsh/functions/ssht | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh/.zsh/functions/ssht b/ssh/.zsh/functions/ssht index f747749..1e9b1e7 100644 --- a/ssh/.zsh/functions/ssht +++ b/ssh/.zsh/functions/ssht @@ -1,2 +1,2 @@ local t="-t 0" -ssh -C -t $1 "export LANG=en_US.UTF-8 ; tmux has-session $t && tmux attach-session $t || tmux new-session $t" +ssh -C -t $@ "export LANG=en_US.UTF-8 ; tmux has-session $t && tmux attach-session $t || tmux new-session $t" -- 2.52.0