What’s Next?

You can use every tmux command through the shell, which means you can write scripts to automate nearly every aspect of tmux, including running sessions. For example, you could create a keyboard binding that sources a shell script that divides the current window into two panes and logs you into your production web and database servers. We’ll use that technique in Chapter 6, Workflows to force panes to open in the current directory.

We’ve discussed three separate ways to script out our tmux environment, and we’ve tinkered around with our configuration enough. We now know how to set up our projects, move around panes and windows, and launch our consoles. But as we work with applications within tmux sessions, the results of our ...

Get tmux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.