Coder Social home page Coder Social logo

ztrace's Introduction

Introduction

Ztrace plugin allows to catch output of commands in background. By issuing:

ztstart 3

We inform Ztrace to catch output of 3 commands.

Video: https://asciinema.org/a/45530

asciicast

Installation

Add zplugin load psprint/ztrace to your .zshrc file. Zplugin will handle cloning the plugin for you automatically the next time you start zsh.

Adding antigen bundle psprint/ztrace to your .zshrc file. Antigen will handle cloning the plugin for you automatically the next time you start zsh. You can also add the plugin to a running zsh with antigen bundle psprint/ztrace for testing before adding it to your .zshrc.

  1. cd ~/.oh-my-zsh/custom/plugins
  2. git clone [email protected]:psprint/ztrace.git
  3. Add zsnapshot to your plugin list

Add zgen load psprint/ztrace to your .zshrc file in the same function you're doing your other zgen load calls in.

More information

Below are keyboard shortcuts used by ztrace command:

  • Ctrl-T - start Zsh Command Architect (Zshell binding)
  • Ctrl-E - switch between Ztrace and History views
  • Enter - delete selected segment (when in command window) or add selected segment (when in history window)
  • [ or ] - move active segment (when in command window)
  • Shift-left or Shift-right - move active segment (when in command window)
  • Tab - switch between the two available windows
  • g, G - beginning and end of the list
  • / - start incremental search
  • Esc - exit incremental search, clearing filter
  • <,>, {,} - horizontal scroll
  • Ctrl-L - redraw of whole display
  • Ctrl-O, o - enter uniq mode (no duplicate lines)
  • Ctrl-W (in incremental search) - delete whole word
  • Ctrl-K (in incremental search) - delete whole line
  • Ctrl-D, Ctrl-U - half page up or down
  • Ctrl-P, Ctrl-N - previous and next (also done with vim's j,k)

IRC Channel

Channel #zplugin@freenode is a support place for all author's projects. Connect to: chat.freenode.net:6697 (SSL) or chat.freenode.net:6667 and join #zplugin.

Following is a quick access via Webchat IRC

ztrace's People

Contributors

psprint avatar unixorn 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.