Socket
Book a DemoInstallSign in
Socket

muxit

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

muxit

0.1.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

Muxit

Muxit is a script to simplify tmux usage in solo development. I tend to have the same setup for every single project:

  • One session per project
  • 2 vsplit panes per session
  • Each session maps to a directory in the $PROJECTS folder

Installation

Add this line to your application's Gemfile:

gem 'muxit'

And then execute:

$ bundle

Or install it yourself as:

$ gem install muxit

Usage

muxit start NAME - starts a new tmux session named NAME muxit attach NAME - attaches to an existing tmux session muxit list - list all sessions in tmux muxit nuke NAME - kills off a tmux session muxit code NAME - opens a named session, changes directory to $PROJECTS/NAME, creates a split window, and opens the editor specified by $EDITOR in the left pane.

Thus, opening a muxit session to edit the muxit library would look like this:

export $PROJECTS=~/code
git clone cadwallion/muxit ~/code/muxit

muxit code muxit

If your project happens to be in a subdirectory, muxit will name it after the last folder specified.

export $PROJECTS=~/code
git clone cadwallion/muxit ~/code/oss/muxit

muxit code oss/muxit

Contributing

  • Fork it
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

FAQs

Package last updated on 24 Apr 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.