From 17fbcc3292cc42bd1386d1b066276735f3b9afcb Mon Sep 17 00:00:00 2001 From: Mulia Arifandi Nasution Date: Sat, 14 Mar 2015 00:29:11 +0700 Subject: [PATCH] Make installation more faster Clone only the latest history --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 1efe01a..d865508 100644 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ if [ ! -d "$HOME/.yadr" ]; then echo "Installing YADR for the first time" - git clone https://github.com/skwp/dotfiles.git "$HOME/.yadr" + git clone --depth=1 https://github.com/skwp/dotfiles.git "$HOME/.yadr" cd "$HOME/.yadr" [ "$1" = "ask" ] && export ASK="true" rake install