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.
$ gibo Python TextMate >> .gitignore
For additional usage instructions, run
gibo without arguments.
brew install gibo
brew upgrade gibo
Installation on other (*nix) platforms
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 -L https://raw.github.com/simonwhitaker/gibo/master/gibo \ -so ~/bin/gibo && chmod +x ~/bin/gibo && gibo -u
Installation on Windows
The easiest way to install
gibo on Windows is to use scoop, a PowerShell-based package-manager of sorts for Windows:
scoop update scoop install gibo
A great benefit to using scoop, is that it provides an easy way to update its packages, including gibo:
scoop update scoop update gibo
You can download the whole
gibo repo directly from GitHub:
md "C:\Users\<Your User>\bin" cd /D "C:\Users\<Your User>\bin" git clone https://github.com/simonwhitaker/gibo.git gibo
Then add the full gibo directory (
C:\Users\<Your User>\bin\gibo) to your system's PATH environment variable.
To manually install only the
gibo.bat file, download it to your computer and save it to any directory that is in your PATH.
Right-click this link and select 'Save target as...' (or 'Save link as...' depending on your browser) to save it to your computer.
A good directory to put the file is
C:\Users\<Your User>\bin and add that directory to your system's PATH environment variable. Where ever you put it, make sure the batch file is accessible via
Tab completion in bash and zsh
bash and zsh users can enjoy the deluxe gibo experience by enabling tab completion of available boilerplate names.
Sorry, there is no tab completion support in Windows.
gibo-completion.bash into a
or copy it somewhere (e.g. ~/.gibo-completion.bash) and put the following in your .bashrc:
gibo-completion.zsh somewhere (e.g. ~/.gibo-completion.zsh)
and put the following in your .zshrc:
gibo was written by Simon Whitaker (@s1mn)
Thanks to yevgenko for adding the curl-based installation instructions.
Thanks to kodybrown for adding the gibo.bat batch file for Windows.