From 2921c6d9b98e0d6f6bfbe70651f0abd1d10a75a7 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Wed, 4 Jul 2018 23:20:11 +0200 Subject: [PATCH] Update zsh conf. --- zsh/custom/zshrc.zsh | 1 + zsh/zshrc | 1 + 2 files changed, 2 insertions(+) diff --git a/zsh/custom/zshrc.zsh b/zsh/custom/zshrc.zsh index 846b8e9..af7ae35 100644 --- a/zsh/custom/zshrc.zsh +++ b/zsh/custom/zshrc.zsh @@ -1,2 +1,3 @@ # Finally, we do: #source "${HOME}/.local/bin/virtualenvwrapper.sh" +function gi() { curl -L -s https://www.gitignore.io/api/$@ ;} diff --git a/zsh/zshrc b/zsh/zshrc index 2007b28..15fba94 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -61,6 +61,7 @@ ZSH_THEME="cypher" plugins=( debian git + gitignore sudo )