README.md 575 Bytes
Newer Older
1
2
# gitignore

Marc Cornellà's avatar
Marc Cornellà committed
3
This plugin enables you the use of [gitignore.io](https://www.gitignore.io/) from the command line. You need an active internet connection.
4
5
6
7
8
9
10
11

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

```zsh
plugins=(... gitignore)
```

## Plugin commands
Marc Cornellà's avatar
Marc Cornellà committed
12
13
14
15
16
17

* `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.