6 ms·
not denying value of the article, it's great, but kinda solved problem for me - for multiple years, 99% of cases the first command after ssh login to server is
by CoolCold 4y ago
not denying value of the article, it's great, but kinda solved problem for me - for multiple years, 99% of cases the first command after ssh login to server is `tmux attach || tmux` for me. Almost never run anything not in tmux/screen.
- chisquared 4y agoI think you can just do `tmux new -A`. IIRC this is equivalent to `tmux attach || tmux`.
- CoolCold 4y agoCould be, will note on that. In practice I have it via bash alias `tma` , not long command as described. Until I can't bring my .bashrc to particular server of course - there long one, may try your suggestion though