A shell script for easily accessing gitignore boilerplates
Shell
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 54 commits behind simonwhitaker:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
UNLICENSE
gibo
gibo-completion.bash
gibo-completion.zsh

README.md

gitignore-boilerplates

A shell script for easily accessing gitignore boilerplates from github.com/github/gitignore

Typical usage

$ gibo Python TextMate >> .gitignore

For additional usage instructions, run gibo without arguments.

Installation

gibo is easily installed as a standalone script:

$ curl http://git.io/gibo -sLo ~/bin/gibo && chmod +x ~/bin/gibo

Assuming "~/bin/" is in your $PATH, you're ready to roll:

$ gibo --upgrade # will initialize ~/.gitignore-boilerplates for you

Tab completion in bash and zsh

bash and zsh users can enjoy the deluxe gibo experience by enabling tab completion of available boilerplate names.

bash instructions

Copy gibo-completion.bash into a bash_completion.d folder:

  • /etc/bash_completion.d
  • /usr/local/etc/bash_completion.d
  • ~/bash_completion.d

or copy it somewhere (e.g. ~/.gibo-completion.bash) and put the following in your .bashrc:

source ~/.gibo-completion.bash

zsh instructions

Copy gibo-completion.zsh somewhere (e.g. ~/.gibo-completion.zsh) and put the following in your .zshrc:

source ~/.gibo-completion.zsh

Alternatively, you can use gibo-completion.zsh as an oh-my-zsh plugin by following these instructions.

Credits

gibo was written by Simon Whitaker (@s1mn)