From 45861c1d789679f64fe413eb70b43dffe9bafbf6 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 12 Sep 2016 21:05:02 +0100 Subject: [PATCH] Add gitignore.io --- README.md | 1 + envsetup | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index f417869..402c2c5 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ Here's a list of the most interesting ones, along with what they do and where th - [catimg](https://github.com/posva/catimg) - A cool script to display images in the terminal. Useful when you're sshing into servers. - [tldr](https://github.com/raylee/tldr) - A bash client for [tldr-pages](https://github.com/tldr-pages/tldr). + - [git ignore](https://gitignore.io/) - A really useful subcommand for git that allows you to generate ignore files automagically. ## Disclaimer I don't own many of the tools in this repository. If you are an owner of one of these tools and I haven't linked to you, please let me know as I probably forgot. diff --git a/envsetup b/envsetup index 65cc48f..5cebb29 100755 --- a/envsetup +++ b/envsetup @@ -9,3 +9,7 @@ ln -s ${BIN_DIR}/.bashrc ~/.bashrc ln -s ${BIN_DIR}/.bash_aliases ~/.bash_aliases # Copy the bash host file into place cp ${BIN_DIR}/.bash_host ~ + +# Set up git +## Add gitignore.io .gitignore file generator +git config --global alias.ignore '!gi() { curl -L -s https://www.gitignore.io/api/$@ ;}; gi'