Make installation more faster
Clone only the latest history
This commit is contained in:
parent
2e53da3dcd
commit
17fbcc3292
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
if [ ! -d "$HOME/.yadr" ]; then
|
if [ ! -d "$HOME/.yadr" ]; then
|
||||||
echo "Installing YADR for the first time"
|
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"
|
cd "$HOME/.yadr"
|
||||||
[ "$1" = "ask" ] && export ASK="true"
|
[ "$1" = "ask" ] && export ASK="true"
|
||||||
rake install
|
rake install
|
||||||
|
Loading…
Reference in New Issue
Block a user