• Stars
    star
    2,783
  • Rank 16,371 (Top 0.4 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 14 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

git-flow-completion

Bash, Zsh and fish 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, hotfix and release branch names

Installation for Bash

To achieve git-flow completion nirvana:

  1. Install git-completion.

  2. Install git-flow-completion.bash. Either:

    1. 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.

    2. 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
      
  3. 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
    }
    

Installation for Zsh

To achieve git-flow completion nirvana:

  1. Update your zsh's git-completion module to the newest version -- available here. Optional if you have an up-to-date version of zsh.

  2. Install git-flow-completion.zsh. Either:

    1. Place it in your .zshrc.

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

       source ~/.git-flow-completion.zsh
      
    3. Or, use this file as an oh-my-zsh plugin.

      1. Install the plugin by cloning this repository to your directory for custom oh-my-zsh plugins:

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

      After doing that, your file tree ought to look like this:

      1. Turn the plugin on by updating your zsh configuration file, ~/.zshrc

        1. open ~/.zshrc

        2. Find the plugins section. It'll look like this:

           # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
           # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
           # Example format: plugins=(rails git textmate ruby lighthouse)
           plugins=(<some-plugin> <another-plugin> <third-plugin>)
          
        3. Add git-flow-completion to the list of plugins within the parentheses.

        4. Save

      2. Reload Terminal

Installation for fish

To achieve git-flow completion nirvana:

  1. Install git.fish in your ~/.config/fish/completions folder.

The Fine Print

Copyright (c) 2010-2015 Justin Hileman

Distributed under the MIT License

More Repositories

1

psysh

A REPL for PHP
PHP
9,637
star
2

mustache.php

A Mustache implementation in PHP.
PHP
3,202
star
3

genghis

The single-file MongoDB admin app
Ruby
1,452
star
4

Ruler

A simple stateless production rules engine for modern PHP
PHP
1,025
star
5

Faker

The easiest way to generate fake data in PHP.
PHP
187
star
6

solarized-seestyle

A precision color scheme for Coda and SubEthaEdit with light and dark modes
99
star
7

Mustache.mode

Mustache syntax mode for Coda and SubEthaEdit.
HTML
90
star
8

coda-cli

Makes Panic's Coda a first-class *nix citizen
Python
53
star
9

vagrant-mongobox

A simple little Vagrant box for running MongoDB
Puppet
51
star
10

Markdown.mode

A Markdown syntax mode file for Coda and SubEthaEdit.
40
star
11

Population

A simpler way to populate your Doctrine 2 databases.
PHP
37
star
12

coda-modes

A curated collection of syntax modes for Coda and SubEthaEdit.
35
star
13

Twig-HTML.mode

A Twig syntax mode for Coda and SubEthaEdit.
30
star
14

PHP-HTML.mode

A fork of Coda 1.x's PHP-HTML syntax mode. Doesn't work with 2.x :(
Perl
22
star
15

launchctl-completion

Bash completion support for OS X launchctl.
Shell
19
star
16

BobthecowMustacheBundle

Symfony2 + mustaches.
PHP
17
star
17

googlecl-completion

Bash completion support for googlecl.
Shell
15
star
18

copyonclick

A copyOnClick plugin for jQuery.
JavaScript
14
star
19

mustache-silex-provider

Mustache integration for the Silex application micro-framework.
PHP
14
star
20

GitX.codaplugin

This Coda plugin integrates Coda with GitX.
13
star
21

codaclips

A simple import/export script for Coda clips.
Shell
12
star
22

sublime-sniptastic

A quick and dirty snippet palette for Sublime Text 2.
Python
12
star
23

apprise-bootstrap

Stylish alerts for a Bootstrapped web.
JavaScript
11
star
24

heroku-buildpack-nanoc

ApacheConf
8
star
25

Twig-JavaScript.mode

A Twig (+JavaScript) syntax mode for Coda and SubEthaEdit.
7
star
26

CodaDocblock

Generate PHP Docblocks like magick!
Python
7
star
27

Gity.codaplugin

This Coda plugin integrates Coda with Gity, a sweet little Git client for OS X.
6
star
28

terminitor-completion

Bash completion support for terminitor.
Shell
6
star
29

forematter

The frontmatter-aware friend for your static site.
Ruby
6
star
30

ManipulateCoda

A text manipulation plug-in for Panicโ€™s Coda
Python
5
star
31

homebrew-php

PHP formulae repo for Homebrew
Ruby
4
star
32

Twig-XML.mode

A Twig (+XML) syntax mode for Coda and SubEthaEdit.
4
star
33

genghisapp.com

This is the repo of the site of the app Genghis.
JavaScript
3
star
34

psysh.org

A website for a REPL for PHP
JavaScript
2
star
35

gist.codaplugin

Coda plugin utilizing gist.rb
2
star
36

psysh-mongodb

A MongoDB Plugin for PsySH
PHP
2
star