1df7d01618f06cc80b7f9d14bd088c70e6382d33
- Author
- Brian McKenna <brian@simpleenergy.com>
- Committer
- Brian McKenna <brian@simpleenergy.com>
- Date
Message
Fix URL to gi (gitignore) function
Previous URL doesn't seem to work because the host requires a www
prefix.
Diff
1diff --git a/plugins/gitignore/gitignore.plugin.zsh b/plugins/gitignore/gitignore.plugin.zsh
2index 332497cec05298aae79ea6ec24ef9d37a0afb8ac..be3c3a635999000ac10f8f52007fa3ba0769fec5 100644
3--- a/plugins/gitignore/gitignore.plugin.zsh
4+++ b/plugins/gitignore/gitignore.plugin.zsh
5@@ -1,4 +1,4 @@
6-function gi() { curl http://gitignore.io/api/$@ ;}
7+function gi() { curl http://www.gitignore.io/api/$@ ;}
8
9 _gitignireio_get_command_list() {
10 curl -s http://gitignore.io/api/list | tr "," "\n"