From 40d63d13238a9bfee6ec7c8a86d69fffe78ea4c4 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 28 Aug 2025 09:06:04 +0100 Subject: [PATCH] Revert `git clone` to its original functionality --- modules/zsh/init.nix | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/modules/zsh/init.nix b/modules/zsh/init.nix index 352d9ff3..e147ffad 100644 --- a/modules/zsh/init.nix +++ b/modules/zsh/init.nix @@ -18,22 +18,6 @@ git() { case "$1" in - clone) - shift - - local repo_url="$1" - local repo_path="''${2:-}" - - if [ -n "$TARGET_DIR" ]; then - command git clone "$repo_url" "$repo_path" - else - command git clone "$repo_url" - repo_path=$(basename "$repo_url" .git) - fi - - ${pkgs.tmux-sessionizer}/bin/tmux-sessionizer "$repo_path" - ;; - root) shift