From e5ef637e81784953418067f5a5d40e77933542a2 Mon Sep 17 00:00:00 2001 From: Jozef Izso Date: Sat, 6 Dec 2014 11:31:39 +0100 Subject: [PATCH] Added gitignore.io service function --- modules/git/init.zsh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/git/init.zsh b/modules/git/init.zsh index ba540828..ccb820b3 100644 --- a/modules/git/init.zsh +++ b/modules/git/init.zsh @@ -15,3 +15,12 @@ pmodload 'helper' # Source module files. source "${0:h}/alias.zsh" + +# +# Functions +# + +# Create .gitignore files using gitignore.io service +function gi() { + curl -L -s https://www.gitignore.io/api/$@ +}