Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have irssi always running in my tmux session but often switch sessions. Is there a way to configure tmux to have a window follow me from session to session?

share|improve this question
up vote 2 down vote accepted

You can use link-window to pull a window from one session into another. I don't know the best way to automate this process, but manually, it's as simple as

link-window -s irssi:0

This assumes that you have irssi running in window 0 of a session called irssi, but you can change the argument to the -s option as necessary.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .