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.

#tmux

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

GitHub - tmuxinator/tmuxinator: Manage complex tmux sessions easily

Manage complex tmux sessions easily. Contribute to tmuxinator/tmuxinator development by creating an account on GitHub.

GitHub
Tmuxinator: simple terminal workspaces for your projects | Will Webberley

How to use tmuxinator to manage your tmux based project workspaces.

#tmuxinator is amazing. if you use #tmux already, worth a look:
https://github.com/tmuxinator/tmuxinator
GitHub - tmuxinator/tmuxinator: Manage complex tmux sessions easily

Manage complex tmux sessions easily. Contribute to tmuxinator/tmuxinator development by creating an account on GitHub.

GitHub

Merci @lord pour cet article et merci @Alyve pour lui avoir donné l'idée avec ton article sur #tmuxinator !
https://lord.re/posts/190-scripter-une-session-tmux/

#tmux #script #bash #terminal

Scripter une session Tmux

Cette semaine Alyve a publié un chouette article sur son blog pour créer des sessions Tmux avec Tmuxinator. Et là au milieu de l'article il est écrit : Alors on va me dire “Oui mais tu peux configurer un script sh pour quand tu lances tmux toussa toussa”. Oui, j’ai pas ton temps, frère. Je suis là pour être productive et botter des culs avec mes nouvelles Doc Martens. Du coup je saisis la perche au vol : Oui on peut scripter ça assez facilement !

/home/lord