From 8eea5840d8c5fc594764e37664effe592b4f18c5 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sat, 28 Dec 2019 23:05:17 +0100 Subject: [PATCH] axzshctl: Create shallow clones of remote modules --- bin/axzshctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/axzshctl b/bin/axzshctl index 1db8a53..5b2be80 100755 --- a/bin/axzshctl +++ b/bin/axzshctl @@ -108,7 +108,7 @@ function EnablePlugin { mkdir -p "$AXZSH/repos" if [[ ! -e "$AXZSH/repos/$plugin" ]]; then ax_msg - "Cloning module from GitHub ..." - git clone "https://github.com/$1.git" \ + git clone --depth=1 "https://github.com/$1.git" \ "$AXZSH/repos/$plugin" fi # Try to enable a theme in this "foreign module", but ignore -- 2.39.2