]> Sergey Matveev's repositories - dotfiles.git/blobdiff - ssh/.zsh/functions/ssht
Split zsh configuration on corresponding sections
[dotfiles.git] / ssh / .zsh / functions / ssht
diff --git a/ssh/.zsh/functions/ssht b/ssh/.zsh/functions/ssht
new file mode 100644 (file)
index 0000000..bc50397
--- /dev/null
@@ -0,0 +1,2 @@
+local t="-t 0"
+TERM=xterm ssh -C -t $1 "tmux has-session $t && tmux attach-session $t || tmux new-session $t"