mx icon indicating copy to clipboard operation
mx copied to clipboard

a tmux launcher and session manager

mx

Release v1.3.0 * Build status -- hopefully passing

Do you suffer from short programming attention span?

Do you have too many projects going on at once?

Try mx! mx creates project-specific terminal workspaces that remember where you were when you jump between your fancy new pizza-as-a-service app idea, the data stream from the hygrometer attached to your petunias, and your brand-new node.js HTTP framework!

mx leverages the power of tmux to create stateful workspaces for your projects, so you can work on lots of projects at once without losing your place. It'll change the way you work, I promise. Read more about the philosophy behind mx.

Demo

An animated image of someone using mx -- read below for more information

Usage

mx [project_name]

Opens a new tmux session named [project_name] (defaults to the name of the directory that you invoked mx from). If $PROJECTS/[project_name] is defined, open the session there. Otherwise, open in current directory.

If there is a .tmux file in the session's directory, execute that file. Otherwise, open two windows -- one with $EDITOR and the other with a plain shell prompt.

Installing

  • On OS X with homebrew:

    brew tap demands/tap
    brew install mx
    
  • Other systems:

    • Prerequisites:
    • Download and execute mx as a binary.

Credits

Discovered in pengwynn's dotfiles, modified for general use.

License

MIT.