Ztrace plugin allows to catch output of commands in background.
Ztrace to catch output of
zplugin load psprint/ztrace to your
.zshrc file. Zplugin will handle
cloning the plugin for you automatically the next time you start zsh.
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
git clone firstname.lastname@example.org:psprint/ztrace.git
- Add zsnapshot to your plugin list
zgen load psprint/ztrace to your .zshrc file in the same function you're doing your other
zgen load calls in.
Below are keyboard shortcuts used by
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)
]- move active segment (when in command window)
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
o- enter uniq mode (no duplicate lines)
Ctrl-W(in incremental search) - delete whole word
Ctrl-K(in incremental search) - delete whole line
Ctrl-U- half page up or down
Ctrl-N- previous and next (also done with vim's j,k)
#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.