Skip to content
This repository

Bash, Zsh and fish completion support for git-flow.

tree: fd37e37d3a

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.markdown
Octocat-spinner-32 git-flow-completion.bash
README.markdown

git-flow-completion

Bash completion support for Git Flow

The contained completion routines provide support for completing:

  • git-flow init and version
  • feature, hotfix and release branches
  • remote feature branch names (for git-flow feature track)

Installation

To achieve git-flow completion nirvana:

  1. Install git-completion.

  2. Install this file. Either:

    a. Place it in a bash-completion.d folder:

    • /etc/bash-completion.d
    • /usr/local/etc/bash-completion.d
    • ~/bash-completion.d

    b. Or, copy it somewhere (e.g. ~/.git-flow-completion.sh) and put the following line in your .bashrc:

       source ~/.git-flow-completion.sh
    
  1. Edit git-completion.sh and add the following line to the giant $command case in _git:

    flow)        _git_flow ;;
    

Requirement 3 will go away as soon as I figure out how to properly (and predictably) hijack the complete -F ownership for git without breaking regular git-completion...

The Fine Print

Copyright (c) 2010 Justin Hileman

Distributed under the MIT License

Something went wrong with that request. Please try again.