From a3b6a90b2efe1e717487bc556d6a78e8c874d41f Mon Sep 17 00:00:00 2001 From: winston Date: Thu, 22 Jun 2023 13:02:27 +0200 Subject: [PATCH] feat(git): add url replacements --- home/apps/git.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/apps/git.nix b/home/apps/git.nix index 429082d..0e4c319 100644 --- a/home/apps/git.nix +++ b/home/apps/git.nix @@ -62,6 +62,12 @@ in { push.default = "current"; push.gpgSign = "if-asked"; rebase.autosquash = true; + url = { + "https://github.com/".insteadOf = "github:"; + "https://github.com/catppuccin/".insteadOf = "catppuccin:"; + "https://github.com/nekowinston/".insteadOf = "nekowinston:"; + "https://gitlab.com/".insteadOf = "gitlab:"; + }; }; }; }