From 1ff6a2dd6271141dc235a48dc1fdfab9ef462ea4 Mon Sep 17 00:00:00 2001 From: bretello Date: Mon, 15 Mar 2021 10:32:16 +0100 Subject: [PATCH] functions: add gi() to query toptal's gitignore API --- functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/functions.sh b/functions.sh index 70e6ed6..ef7894b 100755 --- a/functions.sh +++ b/functions.sh @@ -294,3 +294,4 @@ fvim() { if [[ -f $HOME/.dotfiles_functions ]]; then source "$HOME/.dotfiles_functions" fi +function gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}