Table of Contents generated with DocToc
- zsh-tig-plugin
A plugin for Zsh that automatically adds a few advanced bindings and also
provides a Zsh-rewritten function and/or script tig-pick (i.e.: the code is
agnostic and can be run either as a script or as a function; it defaults to
function), originally shipped with tig as sh-script in the contrib/
subdirectory.
Retrieves the list of targets for Makefile in the current directory and runs
fzf or fzy on the list and then, when a target gets selected, executes
make on that target.
Runs make all
Runs make clean
Copies the SHA of currently active (highlighted) commit into the clipboard.
Supports OS X's pbcopy and Linux/other's xsel and xclip.
Copies the contents of currently active (highlighted) file into the clipboard.
Supports OS X's pbcopy and Linux/other's xsel and xclip.
Executes an editor on selected file. It's either $VISUAL, then $EDITOR and
then vim.
Runs fuzzy-finder (either fzf or fzy) on the list of the files in the
repository and after selecting one it then executes an editor like in xed.
Executes mc with the left pane set to the repository and the right pane to
$ZSH_TIG_MC_DIR. If the variable isn't set it uses $HOME instead.
Executes mc with the left pane set to the repository and the right pane to the
home directory.
Add zplugin load MenkeTechnologies/zsh-tig-plugin to your .zshrc file. Zplugin will
clone the plugin the next time you start zsh. To update issue zplugin update MenkeTechnologies/zsh-tig-plugin.
zplugin load MenkeTechnologies/zsh-tig-pluginOr with use of the Turbo mode:
zplugin wait lucid for MenkeTechnologies/zsh-tig-pluginAdd antigen bundle zdharma/zsh-tig-plugin to your .zshrc file. Antigen will
handle cloning the plugin for you automatically the next time you start zsh.
antigen bundle MenkeTechnologies/zsh-tig-plugincd ~/.oh-my-zsh/custom/pluginsgit clone [email protected]:MenkeTechnologies/zsh-tig-plugin.git- Add
zsh-tig-pluginto your plugin list
Add zgen load MenkeTechnologies/zsh-tig-plugin to your .zshrc file in the same place
you're doing your other zgen load calls in.