From a1f4782b6382ec563145ac862bfa57f7fc4c1c0d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 17 Apr 2024 00:07:36 +0100 Subject: [PATCH] Use `git bare-clone` when cloning the repo --- lib/shared/modules/zsh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shared/modules/zsh.nix b/lib/shared/modules/zsh.nix index 6b5b8bc..abb1c60 100644 --- a/lib/shared/modules/zsh.nix +++ b/lib/shared/modules/zsh.nix @@ -44,7 +44,7 @@ ${pkgs.coreutils}/bin/mkdir -p "''${user_path}" pushd "''${user_path}" - ${pkgs.git}/bin/git clone "''${repo_url}" "''${repo_name}" + ${pkgs.git}/bin/git bare-clone "''${repo_url}" "''${repo_name}" popd t "''${user_repo_path}"