From 60735946566c64fc238b035bb813278c802f89db Mon Sep 17 00:00:00 2001 From: LeeW Date: Tue, 8 Sep 2015 20:59:08 +0800 Subject: [PATCH] Remove redundant \n in tr --- bin/git-ignore-io | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-ignore-io b/bin/git-ignore-io index e6510e8..5a18340 100755 --- a/bin/git-ignore-io +++ b/bin/git-ignore-io @@ -3,7 +3,7 @@ gitignore_io_url="https://www.gitignore.io/api/" default_path="$HOME/.gi_list" -gi_list=`cat $default_path | tr "," "\n\n"` +gi_list=`cat $default_path | tr "," "\n"` update_gi_list() { curl -L -s "${gitignore_io_url}/list" > ~/.gi_list