Giter Site home page Giter Site logo

newtmux's Introduction

newtmux — Tmux Session & Logging Optimizer

Optimizes Tmux for session creation, project trees, and logging via config modifications and various features.

  • Starts Tmux with specified number [-w] of horizontally-split windows (default 1, maximum 5)
  • Automatically enables logging for each pane via the "tmux-logging" plugin, then selects the first pane
  • Filters ANSI color codes from log output text streams via ansi2text/sed for easy copy/paste into reports
  • Lowers the message duration for all "tmux-logging" plugin messages by 90% (5000 ms --> 500 ms)
  • Creates an optimized Tmux config file (keybinds, history limit, etc.) after backing up the existing one
  • Integrates with engagement-init with [-e] or if the current folder is located in a project directory tree
  • Otherwise, a "tmux-logging-output" folder is created in your home directory to store all logs and screen captures
  • Detects whether or not the "tmux-logging" plugin is installed, prompts to install it automatically if not
  • Identifies if a compatible version of Tmux is installed, prompts to update Tmux automatically if not

newtmux Demo

$ newtmux -h               
[Tmux Session & Logging Optimizer — Version 2.0]

Usage: newtmux -n {tmux-session-name} [-w {num_windows} | -k | -s | -e | -h]

Mandatory argument:
 -n | Tmux Session Name

Optional arguments:
 -w | Number of horizontally-split windows to open (default 1, maximum 5)
 -k | Use the existing .tmux.conf file instead of an optimized one
 -s | Swift and Slient mode (disables status messages)
 -e | Run engagementinit and create a symlink (Alias required)
 -h | Display this help menu

Example execution (with an alias set):
 newtmux -n flast -w 2 -e

newtmux's People

Contributors

mrdanielvelez avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.