Commit graph

11 commits

Author SHA1 Message Date
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
Parham Alvani 5efa5138bf silence mode of curl (#6898)
Uses silence mode of curl for better autocomplete.

Co-authored-by: Dominik Rimpf <dev@d-rimpf.de>
2018-06-14 20:32:15 +02:00
Tomasz Borek b85c72b5f6 Better app error handling in curl (#5828)
Deals with app error page, saving true error instead.

Upon app failure, Heroku returns HTML "Application Error" page.
Finding HTML page in .gitignore is confusing, so I replaced
`-s` with `-f` in curl calls, which cuts such output.

Replace instead of addition as no progress meter outputs either.

It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.
      -- E. W. Dijkstra
2018-04-25 14:11:46 +02:00
low-ghost 494b07b093 Update gitignore.plugin: comma separated arguments
Seems like this is more like the intended effect, splits arguments with commas
for proper gitignore.io api request.
Thanks for teaching me about custom compdef completions!

Updated with zsh join operator by Marc Cornellà
2016-01-18 21:54:10 +01:00
Marc Cornellà b452cafb16 Follow-redirect and silent mode curl throughout gitignore
This commit completes previous efforts and standardizes both curl commands
into using silent mode and following redirects in case the URL changes
again in the future.
2014-10-22 18:13:15 +02:00
WooParadog 04d1428fcb Fix gitignore curl, should follow redirects 2014-10-22 18:13:15 +02:00
Alex Shaindlin 69a0b280c7 Fix misspellings in gitignore plugin 2014-10-22 18:13:15 +02:00
Andrii Kostenko b9a11b16fe fixed URL on github.io
github.io moved to https and http returns 301 redirect
2014-10-22 18:13:15 +02:00
Alexander Hramov bd4f7e24ea Update gitignore.plugin.zsh
Fix URL to gi (gitignore) function in _gitignireio_get_command_list function
2014-02-19 15:08:47 +03:00
Brian McKenna 1df7d01618 Fix URL to gi (gitignore) function
Previous URL doesn't seem to work because the host requires a www
prefix.
2014-02-18 14:43:42 -07:00
Kaiwen Xu c5902d3f34 Moved misplaced plugins. 2013-10-14 07:39:59 -04:00
Renamed from custom/plugins/gitignore/gitignore.plugin.zsh (Browse further)