Comment

Comment by hprotagonist

SSH straight into tmux

  Host example.org
 RemoteCommand tmux new -A -s default
Instead of this, i go one step further, and in .zshrc on [email protected]:

  if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
    [ -z "${TMUX}" ] && tmux new-session -A -s default
  fi

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton