Posted on :: Tags: , , , ,
  • Airmux is a session manager for tmux that allows defining and managing multiple tmux sessions through project configuration files.
  • Projects are defined in YAML or JSON files that specify things like commands to run, windows/panes layout, and other session settings.
  • The start command loads and attaches an existing project, while edit creates or modifies project files.
  • Projects support environment variable expansion and command line arguments passed to start are available as 1,2 etc in the project file.
  • Local project files can be used without specifying a name if they are found by searching parent directories.
  • Commands like list, remove, and freeze can manage existing projects.
  • Debug prints the tmux commands to create a session without attaching for troubleshooting.
  • Fields like on_start, on_stop allow running commands before/after session startup/shutdown.
  • Windows and panes have their own settings like layout, commands to run, and can be nested in the project file.
  • Airmux aims to provide an easy and organized way to define and manage multiple related tmux sessions through project files.