From 3467be66d744c91b9c66ed2d45557a15daba4e2f Mon Sep 17 00:00:00 2001 From: Nico Date: Sat, 3 May 2025 16:15:58 +1000 Subject: [PATCH] zsh: clone plugins with a depth of 1 --- stow/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stow/.zshrc b/stow/.zshrc index d0ed266..e482930 100644 --- a/stow/.zshrc +++ b/stow/.zshrc @@ -55,7 +55,7 @@ func plugInstall() { sourcefile="$clonepath/$2" if command -v git > /dev/null && [ ! -d "$clonepath" ]; then - git clone $1 "$clonepath" + git clone $1 "$clonepath" --depth=1 fi if [ -f "$sourcefile" ]; then