Skip to content

Schnouki/git-annex-zsh-completion

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 

Repository files navigation

ZSH completion for git-annex

This compdef allows tab completion for most of the git-annex commands. See also tips in the git-annex ikiwiki.

Install

To install it:

  1. make sure your have Python 3 installed (as python3 somewhere in your $PATH; tested with 3.4, should work with 3.2+)
  2. get it from GitHub
  3. copy _git-annex to somewhere in your $fpath (I use $HOME/.config/zsh/completion)
  4. run autoload -U path/to/_git-annex
  5. type git annex <TAB>

If you use oh-my-zsh then just clone the repository inside your oh-my-zsh repo:

git clone https://github.com/Schnouki/git-annex-zsh-completion.git ~/.oh-my-zsh/custom/plugins/git-annex

and enable it in your .zshrc:

plugins+=(git-annex)

If you use antigen then you could add the bundle and be done with:

antigen bundle add Schnouki/git-annex-zsh-completion

About

zsh completion for git-annex

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published