summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2018-10-19 18:46:54 +0200
committerGitHub <noreply@github.com>2018-10-19 18:46:54 +0200
commitfccac1ddbf22e47339b5728172ba4b5d0e8c94f8 (patch)
treebd89123cfde976b898e1dba46c1bd3957eb643d4 /plugins
parent3a8b93727fd58ef99dd70b7899f71efa1e1d217f (diff)
parent6a536f88aad20b4157e7693fa9544c7add3c3320 (diff)
downloadzsh-fccac1ddbf22e47339b5728172ba4b5d0e8c94f8.tar.gz
zsh-fccac1ddbf22e47339b5728172ba4b5d0e8c94f8.tar.bz2
zsh-fccac1ddbf22e47339b5728172ba4b5d0e8c94f8.zip
gitignore: add README (#7312)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gitignore/README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/gitignore/README.md b/plugins/gitignore/README.md
new file mode 100644
index 000000000..753dd31fd
--- /dev/null
+++ b/plugins/gitignore/README.md
@@ -0,0 +1,17 @@
+# gitignore
+
+This plugin enables you the use of [gitignore.io](https://www.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:
+
+```zsh
+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.