Skip to content
/ gibo Public
forked from simonwhitaker/gibo

A shell script for easily accessing gitignore boilerplates

License

Notifications You must be signed in to change notification settings

mellson/gibo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gibo: fast access to .gitignore boilerplates

gibo (short for .gitignore boilerplates) is a shell script to help you easily access .gitignore boilerplates from github.com/github/gitignore.

Typical usage

$ gibo Python TextMate >> .gitignore

For additional usage instructions, run gibo without arguments.

Installation

Installation on OS X using Homebrew

brew install gibo

Installation on other platforms

Just download gibo and put it somewhere on your $PATH. Then:

chmod +x /path/to/gibo   # Make gibo executable
gibo -u                  # Initialise gibo

You can automate this with the following one-liner (assuming ~/bin is on your $PATH).

curl https://raw.github.com/simonwhitaker/gibo/master/gibo \
    -so ~/bin/gibo && chmod +x ~/bin/gibo && gibo -u

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)

Thanks to yevgenko for adding the curl-based installation instructions.

About

A shell script for easily accessing gitignore boilerplates

Resources

License

Stars

Watchers

Forks

Packages

No packages published