Bash, Zsh and fish completion support for git-flow (AVH Edition).
The contained completion routines provide support for completing:
To achieve git-flow completion nirvana:
Install git-flow-completion.bash
. Either:
Place it in your bash_completion.d
folder, usually something like /etc/bash_completion.d
, /usr/local/etc/bash_completion.d
or ~/bash_completion.d
.
Or, copy it somewhere (e.g. ~/git-flow-completion.bash
) and put the following line in the .profile
or .bashrc
file in your home directory:
source ~/git-flow-completion.bash
If you are using Git < 1.7.1, you will need to edit git completion (usually /etc/bash_completion.d/git
or git-completion.sh
) and add the following line to the $command
case in _git
:
_git ()
{
[...]
case "$command" in
[...]
flow) _git_flow ;;
*) COMPREPLY=() ;;
esac
}
To achieve git-flow completion nirvana:
Update your zsh's git-completion module to the newest version -- available here. Optional if you have an up-to-date version of zsh.
Install git-flow-completion.zsh
. Either:
Place it in your .zshrc
.
Or, copy it somewhere (e.g. ~/.git-flow-completion.zsh
) and put the following line in your .zshrc
:
source ~/.git-flow-completion.zsh
Or, use this file as an oh-my-zsh plugin.
To achieve git-flow completion nirvana:
git.fish
in your ~/.config/fish/completions
folder.Author: Copyright 2012-2013 Peter van der Does.
Original Author: Copyright (c) 2011 Justin Hileman
Distributed under the MIT License
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4