commit 41647b2a023e2b553a160789ef122d8fa8482c82 parent 2ee010753fc274a72a358375da96de24a8c674af Author: Alex Balgavy <a.balgavy@gmail.com> Date: Thu, 10 Sep 2020 14:57:10 +0200 zsh: fix gitignore plugin, URL changed Former-commit-id: b82842251fc34b97a956ec63ed865571fbbf5bba Diffstat:
M | shell/zsh-plugins/gitignore.plugin.zsh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shell/zsh-plugins/gitignore.plugin.zsh b/shell/zsh-plugins/gitignore.plugin.zsh @@ -1,4 +1,4 @@ -function gi() { curl -fL https://www.gitignore.io/api/${(j:,:)@} } +function gi() { curl -sfLw "\n" https://www.toptal.com/developers/gitignore/api/${(j:,:)@} } _gitignoreio_get_command_list() { curl -sfL https://www.gitignore.io/api/list | tr "," "\n"