Revert git clone to its original functionality
All checks were successful
/ check (push) Successful in 55s

This commit is contained in:
Oliver Davies 2025-08-28 09:06:04 +01:00
parent 6028198c72
commit 40d63d1323

View file

@ -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