Automate #tmux sessions with #tmuxinator
Woop woop! My tmuxinator configuration has just been merged into home-manager's main branch! https://github.com/nix-community/home-manager/pull/8954
Read the story behind this here: https://britter.dev/blog/2026/03/23/home-manager-tmuxinator/

Description Extract tmuxinator from tmux.nix into its own programs/tmuxinator.nix module. The new module adds: programs.tmux.tmuxinator.package for customising the tmuxinator package programs.tmux...
Experimentiere gerade mit #tmux und #tmuxinator - schon praktisch mehrere Panes in einem Fenster zu haben, quasi alle relevanten Verzeichnisse eines Projektes mit einem Kommando am Start.
Aber kann ich auch die Command history beim Start mit zwei drei häufig genutzten Kommandos bestücken ohne dass die sofort beim „mux start …“ ausgeführt werden? 🤔
Und Kommandos wiederfinden da gibt es doch auch was mit f… drei Zeichen? #FediHelp #mac #terminal #developer
To be honest I'd been thinking of replacing #tmuxinator for a while anyway, as I'm trying to reduce my reliance on the #AUR.
Where I can, I'm switching to alternatives in #ArchLinux's repos. If that's not possible, I'll see if it's in another distro's repos and run it in #Distrobox (for example, pdf2djvu in an Ubuntu 24.04 LTS container). Finally, as a last resort, I'll use a #Flatpak.
#tmuxinator isn't in #ArchLinux's repos, and the AUR version breaks whenever a Ruby library gets updated. This happened today, so I've taken the opportunity to try a different tmux session helper.
#tmuxp is a Python tmux session manager. Also, it's in Arch's repos so shouldn't break on an update.
It does a weird thing where every command it sends to a pane is prefixed by a space - this could be me, but I can't work out what I'm doing wrong. Other than this weird quirk, it works great.
Anybody out there who knows how to start external programs with #tmuxinator w/o waiting it to finish, e.g.
pre_window: xpdf &
@lopeztel It's so good, and useful in so many situations!
If you end up using it for more complex tasks, I can also recommend #tmuxinator https://github.com/tmuxinator/tmuxinator
#Tmuxinator - simple workspaces for #terminal projects