1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 22:00:08 +00:00
ohmyzsh/plugins/gitignore
Gianluca Recchia befdb4649b
gitignore: add newline to gi output (#7586)
* Add trailing new line at the end of output
* Double-quote variable expansion
2020-02-28 21:00:44 +01:00
..
gitignore.plugin.zsh gitignore: add newline to gi output (#7586) 2020-02-28 21:00:44 +01:00
README.md reword and fix formatting 2018-10-19 18:46:29 +02:00

gitignore

This plugin enables you the use of gitignore.io from the command line. You need an active internet connection.

To use it, add gitignore to the plugins array in your zshrc file:

plugins=(... gitignore)

Plugin commands

  • gi list: List all the currently supported gitignore.io templates.

  • gi [TEMPLATENAME]: Show git-ignore output on the command line, e.g. gi java to exclude class and package files.

  • gi [TEMPLATENAME] >> .gitignore: Appending programming language settings to your projects .gitignore.