This. Here&#x27;s a handy zsh alias that I use:<p><pre><code>    alias tmosh=&#x27;() {mosh $* -- sh -c &quot;tmux a || tmux&quot;}&#x27;
</code></pre>
so I can mosh into any of my ssh aliases and resume my tmux session seamlessly