]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Ability to pass additional arguments master
authorSergey Matveev <stargrave@stargrave.org>
Thu, 11 Dec 2025 13:01:14 +0000 (16:01 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 11 Dec 2025 13:01:14 +0000 (16:01 +0300)
ssh/.zsh/functions/ssht

index f747749a09758c21082d825c8ec8c4a3d177974a..1e9b1e7e17694a9d5740a12378a967f6d446e0d7 100644 (file)
@@ -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"