Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


I think you can just do `tmux new -A`. IIRC this is equivalent to `tmux attach || tmux`.


Could 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: