# HG changeset patch # User Meredith Howard # Date 1485052486 18000 # Node ID 2c7cb331d2dc4310e607df2ac15734e797e0ac99 # Parent 92be81c404a59a4cd1b6f77165b0d662a3a49302 Don't really need full clones diff --git a/bin/homedir-setup b/bin/homedir-setup --- a/bin/homedir-setup +++ b/bin/homedir-setup @@ -17,28 +17,28 @@ pull() { } if ! [ -d .zgen ]; then - git clone 'https://github.com/tarjoilija/zgen.git' .zgen + git clone --depth 1 'https://github.com/tarjoilija/zgen.git' .zgen else pull .zgen fi if ! [ -d .plenv ]; then - git clone 'https://github.com/tokuhirom/plenv.git' .plenv - git clone 'https://github.com/tokuhirom/Perl-Build.git' .plenv/plugins/perl-build/ + git clone --depth 1 'https://github.com/tokuhirom/plenv.git' .plenv + git clone --depth 1 'https://github.com/tokuhirom/Perl-Build.git' .plenv/plugins/perl-build/ else pull .plenv pull .plenv/plugins/perl-build fi if ! [ -d .asdf ]; then - git clone 'https://github.com/asdf-vm/asdf' .asdf + git clone --depth 1 'https://github.com/asdf-vm/asdf' .asdf else pull .asdf fi for LANG in ruby nodejs erlang elixir; do if ! [ -d .asdf/plugins/$LANG ]; then - git clone "https://github.com/asdf-vm/asdf-$LANG" .asdf/plugins/$LANG + git clone --depth 1 "https://github.com/asdf-vm/asdf-$LANG" .asdf/plugins/$LANG else pull .asdf/plugins/$LANG fi diff --git a/bin/setup-neomutt b/bin/setup-neomutt --- a/bin/setup-neomutt +++ b/bin/setup-neomutt @@ -9,7 +9,7 @@ cd mkdir -p sandbox if [ ! -d sandbox/neomutt ]; then - git clone https://github.com/neomutt/neomutt.git sandbox/neomutt + git clone --depth 1 https://github.com/neomutt/neomutt.git sandbox/neomutt else git -C sandbox/neomutt pull fi