From 626126debbe9b59a96e2b1ba0c37cc0452ffd9c0 Mon Sep 17 00:00:00 2001 From: Jozef Izso Date: Sat, 6 Dec 2014 11:00:00 +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/$@ +}